help wfdo_format: Suggestions for naming and formatting do-files

Naming do-files

project [ -task ] step [ letter ] [ Version ] [ -desc ].do

Example: epsl02aV1.do

Formatting do-files

1. Keep command lines to 80 columns or less (e.g., set linesize 80).

2. Use lots of comments.

3. Alignment and indentation to highlight the structure of the program.

4. Limit command abbreviations to at least 3 characters.

5. Use blank lines to make the code easier to read.

6. Use numbered comments to label sections of the program.
For example:

// #1
// Load data and select the sample

Also see

WF-do-files; Workflow