18.10.2014 Views

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

number: = { integer | .integer | integer [ .integer ] }<br />

program label: = ' { name | number } '<br />

relational operator:<br />

{ { = | eq | equals | equal to }<br />

| { ¬ = | | ne | not equal to }<br />

| { < | ls | lt | less than }<br />

| { > | gr | gt | greater than }<br />

| { < = | le | not greater than | no greater than }<br />

| { > = | ge | not less than | no less than }<br />

}<br />

selection clause:<br />

{ with<br />

| [ except ] when<br />

| unless<br />

} logical expression [ , ]<br />

string constant: = " { name | number | blank } "<br />

special character: = { ( | ) | + | - | # | / | ** | $ }<br />

subscript: = ( { expression } < , > )<br />

subprogram constant: = { ' routine name ' }<br />

311

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

Saved successfully!

Ooh no, something went wrong!