18.10.2014 Views

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix C. <strong>SIMSCRIPT</strong> Reference Syntax<br />

{ at expression<br />

| now | next<br />

| { in | after } expression { units | days | hours | minutes }<br />

}<br />

Creates (for a or an) and places an event or process notice in the pending list in proper chronological<br />

order.<br />

add expression to variable<br />

Adds the value of expression to the value of the variable variable.<br />

after - See before.<br />

[ also ] { for | termination clause }<br />

[ for | termination clause | selection clause ] < ><br />

do [ this | the following ]<br />

Logical phrases control the execution of statements that follow them. When more than one statement<br />

is to be controlled, the words do and loop must bracket the statements. Multiple control phrases<br />

terminating control on the same loop statement are preceded by the word also.<br />

always - See if.<br />

{ before | after }<br />

{ { creating | destroying } < comma ><br />

[ a | an | the | any ] temporary entity name<br />

| { filing | removing } < comma ><br />

[ in | from ] { a | an | the | any } set name<br />

| { activating | causing | canceling | interrupting | scheduling } < comma ><br />

[ a | an | the | any ] § process name | event name }<br />

} call routine name<br />

313

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!