|
|
Presentation - The Code
Page visited 12286 times
|
1. A program can have one or several Procedures
|
|
|
|
|
|
|
|
|
2. The 'Keyword' (Sub, End Sub, If, End If, ...) are most of the time in blue and the color is differente of the color of the variable
|
|
|
|
|
|
|
|
|
3. You can change the color and the format in the menu Tools/Options tab 'Editor Format'
|
|
|
|
|
|
|
|
|
4. In order to have a document more readable, it is advocate to tab the lines include in a Loop or a Condition
You can tab line by line or for a series of rows
|
|
|
|
|
|
|
|
|
5. The comments are very useful to explain the function of the variables and the mean of a condition
To make a comment, you just have to put a quote before your text, or click on this icon. Without the quote, the program attempt to read the comment and will cause an error.
|
|
|
|
|
|
|
|
|
6. The icon is very useful for a series of rows. If the toolbar 'Edit' is not enabled, make a right-click on the grey of the toolbar, and select 'Edit'
|
|
|
|
|
|
|
|
|
|