Batch Mode Simulation : The Simulation Control Program : Basic Syntax Rules : SCL Statements

SCL Statements

SCL statements are made up of keywords, syntactical elements and identifiers. Statements are either simple or structured.

Simple statements consists of one or two keywords followed by identifiers and may span more than one line.

Structured statements contain other statements. They usually span several lines and use keywords to begin and end their structure and delimit their components. IF, THEN, ELSE are examples of a structured statement:

IF a > b
THEN
x := y;
ELSE
x := x + 1;
END IF;