Smart Tabulations

Navigation:  Macros > Writing Macros >

Smart Tabulations

Previous pageReturn to chapter overviewNext page

The behaviour of the code editor when you press the ENTER/RETURN key is different from the one you might be accustomed to in using, for example, MS-Word.


Because source code is inherently hierarchical, when you press ENTER, the editor moves to the next line at the same indentation level as the current line. To make the most out of smart tabbing, follow the following rule of thumb :


Use tabs to indent or generally deal with the appearance of code that the compiler takes no notice of, but which is important to view the macro's hierarchical logic.


Use spaces to separate words that must be separated; you should therefore only use one space at the time.


Smart tabs work at 2 levels, the individual line and the block of code.

Topic 108237 updated on 06-Mar-2002.
Topic URL: