logo
Jack H

10.2.1 AML Programs

All AML comments start with two dashes ‘--’ at any position on a line

Statements are ended with a semi-colon, and as long as semi-colons are used, more than one statement can be used on a line.

Line numbering is done by the AML Editor

the free form variables/identifiers must: start with a letter; be up to 72 characters in length; use letters numbers and underscores, except in the last position.

Statements have the general form,

IDENTIFIER:KEYWORD;

-IDENTIFIER is a unique name that the user has selected

-the colon separates the two elements

-KEYWORD indicates the significance of the IDENTIFIER to the system

-the semi-colon indicates the end of the statement

A sample program is given below with comments for explanation,