MPE/iX - CI Programming for Stability
July 18, 2008 HP World '01 32
• Use variable names naturally (implicitly) – no explicit referencing
unless necessary.
• Use the more powerful string parsing functions (word, xword,
wordcnt, delimpos, edit) where possible.
• Enter :help functions and see if there are any surprises.
• Recognize partial evaluation, test the “skipped” clauses.
• Use “entry points” to make scripts more structured and for file I/O.
• Use MSG files for simple or one-time tasks, or for reading small
files.
• Always, always write comments and log changes.
• Assume your quick’n’dirty script will stay in production longer than
you!
Recommendations