Visara Master Console Center Scripting Guide User Manual

Page 23

Advertising
background image

Chapter 2 Advanced Topics

Scripting Guide

23

ƒ

To improve readability, put one blank line before and one after each
control structure, such as IF-ENDIF and WHILE-ENDWHILE.

ƒ

If several assignment statements occur together, align them on the
“:=” characters.

ƒ

Control structures and commands that do not return values should be
all capitals, for example, IF, END, RETURN, ENDSWITCH, WHILE.

ƒ

Functions that return values should be mixed upper and lower case
characters, for example, AssocKeys().

ƒ

Avoid using variables with generic names like $X or %Counter.

ƒ

Manifest constants should be all upper case characters.

Advertising