Style Guide, Procedures and Code Documentation
In order for source code to be more readily readable across teams, it is recommended that your source code always be styled according to this style guide.
- Methods/Functions/Macros within a Procedure should have two blank lines between them
- Rem / EndRem blocks, and logical grouping of lines of code within a Method/Function/Macro should have one blank line between them
- All block statements should have their contents indented by one tab. A tab in your editor should be set to the size of four spaces
- Statements within a block, or set of blocks of code should have their first parameters tab aligned as much as practical. Empty leading field bases for statements that require them should be set one tab back.
For a complete example, take a look at the source code on the Moxie.Build tab of the Simple To Do App Developer Example.