images/contents.gifimages/index.gifimages/prev1.gifimages/next1.gif

Structure

The structure of a script is shown below:

Proc

Variable declaration

Command block

endproc

As seen above, the script must start with proc and end with endproc. All variables must be declared before used. Commands are executed from top to bottom and the script ends when it reaches endproc.