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.

<strong>SIMSCRIPT</strong> <strong>II.5</strong> <strong>Programming</strong> <strong>Language</strong><br />

priority order is { event name | process name } < comma ><br />

This preamble statement assigns a priority order to different classes of processes and events to be<br />

used to resolve time-ties in scheduling.<br />

process [ to | for ] process name<br />

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

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

Process routine heading declaration. The process name process must be declared in the preamble.<br />

processes [ { include | are } { process name } < comma > ]<br />

Preamble statement marking the start of process entity declarations.<br />

read { { variable } < comma > [ as { [ double ] binary<br />

| [ ( expression ) ] { format 2 } < comma > } ]<br />

| as { format 1 } < comma ><br />

}<br />

[ using { the buffer | [ tape | unit ] expression } ]<br />

Reads data, either formatted or free-form from a specified device or the previously established input<br />

device.<br />

regardless - See if.<br />

release{ variable } < comma ><br />

Frees storage occupied by variables (either arrays or attributes of permanent entities or resources).<br />

324

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

Saved successfully!

Ooh no, something went wrong!