| Home Introduction Using Holon Holon Tools Contact
HolonJForth |
Methods
Forth words are methodsA Forth word corresponds to a static class method.
The definer i: creates dynamic instance words, which are related to an object.
The methods are public by default. You can attach all Java method attributes to HolonJ words.
IdentifiersThe identifier (name) may contain a prefix, which is used by HolonJ but does not appear in the class file. This is necessary because Holon requires unique names. Example: The <init> method of the class view is called view.<init> in HolonJ. The method has the name <init> in the class file. <init> is used in other classes as well. Calling words in other classes of the application (package)If a word belongs to a different class of the same application, i.e. if the word is in another module in the Holon source browser, HolonJ creates the corresponding external method reference. Using Library MethodsMethods in external packages are imported. The external method is then represented by a local word.
|
|
| © 1999-2005 Wolf Wejgaard |