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 />

[ left | right ] { routine | function | subroutine }<br />

[ to | for ] routine name<br />

[ { given | giving | the | this } { name } < comma ><br />

| ( { name } < comma > )<br />

[ yielding { name } < comma > ]<br />

Routine heading declaration. The prefix left or right is for declaring monitoring routines. A<br />

routine used as a function has only given arguments.<br />

schedule - See activate.<br />

skip expression { fields<br />

| [ input | output ] { cards | lines | records }<br />

}<br />

Applies to the current input or current output unit. Skip expression fields applies only to<br />

the current input unit. If neither input nor output is specified, cards and records imply input<br />

and lines implies output.<br />

start new { page<br />

| [ input | output ] { card | line | record }<br />

}<br />

Applied to the current input or output unit. If neither input nor output is specified, card and<br />

record imply input, and line implies output.<br />

start simulation<br />

Causes the timing routine (time.r) to begin selecting and executing events and/or processes.<br />

327

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

Saved successfully!

Ooh no, something went wrong!