The types of simple statements are keyword, assignment, and null.
A keyword statement is a statement that begins with a keyword. This keyword indicates the function of the statement. In the following example, READ and DECLARE are keywords.
read file(In) into(Input); /* keyword statement */ %declare Text char; /* keyword %statement */
The assignment statement contains one or more identifiers on the left side of the assignment symbol (=) and an expression on the right. It does not begin with a keyword:
A = B + C; /* assignment statement */ %Size = 15; /* % assignment statement */
The null statement consists of only a semicolon and is a nonoperational statement.
; /* null statement */
Label:; /* labeled null statement */
% ; /* % null statement */