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

relinquish expression [ units of ] resource name [ (subscript ) ]<br />

Makes the specified number of units of the resource available for automatic reallocation.<br />

remove [ the ]<br />

{ { first | last } variable<br />

| [ this | above ] expression<br />

} from [ the | this ] set name [subscript ]<br />

Removes an entity from a set.<br />

repeat - See loop.<br />

request expression [ units of ] resource [ ( subscript ) ]<br />

[ [ , ] with priority expression ]<br />

Makes a request for the specified number of units of the resource. If not available, the requesting<br />

process is enqueued in priority order and suspended awaiting availability of the resource.<br />

reschedule - See activate.<br />

reserve { { variable } < comma > as { expression }<br />

< by > [ by * ] } < comma ><br />

Allocates blocks of storage of the specified size to the variables. If by * is specified only pointer<br />

space (for multi-dimensioned arrays) is allocated. Otherwise the data storage is also allocated.<br />

325

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

Saved successfully!

Ooh no, something went wrong!