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

{ call | perform | now } routine name<br />

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

| ( { expression } < comma > ) ] [ yielding { variable } < comma > ]<br />

Invokes a routine used as a procedure.<br />

cancel [ the [ above ] | this ] event name [ called variable ]<br />

Removes a scheduled event notice from the pending list.<br />

cause - See activate.<br />

close [unit|tape] expression<br />

Exact syntax is implementation-specific.<br />

compute<br />

{ variable { = | as } [ the ]<br />

{ average | avg | mean<br />

| sum<br />

| number | num<br />

| variance | var<br />

| std.dev | std<br />

| sum.of.squares | ssq<br />

| mean.square | msq<br />

| minimum | min<br />

| maximum | max<br />

| { minimum | min } ( variable )<br />

| { maximum | max } ( variable )<br />

}<br />

315

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

Saved successfully!

Ooh no, something went wrong!