|
Previous Top Next |
We follow fairly strict coding convention that makes the code look good and hopefully very readable to our users.
The rules are simple:
| 1. | 2 Character indents |
| 2. | Mixed case statements, i.e. KeyCode() instead of keycode() or KEYCODE() |
| 3. | Upper case logical keywords, i.e. NOT, AND, OR |
| 4. | Only full upper case keywords are SELF and PARENT |
| 5. | Never, ever use period instead of End, ever! |
| 6. | Space between statements and arithmetic characters, such as X + 1 instead of X+1 or S & X instead of S&X |
| 7. | Clarion properties are upper cased PROP the mixed case, i.e. PROP:LineHeight |
| 8. | Constructors and Destructors are declared after other methods. |
| 9. | Class properties are declared before methods. |