28.06.2013 Views

ISO Pascal reference manual

ISO Pascal reference manual

ISO Pascal reference manual

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.

PROGRAM fail; [this needs the EXTEND option}<br />

VAR x, y : integer;<br />

BEGIN<br />

END.<br />

*MOVE x,y;<br />

*ERROR 160 -- only STATIC, IMPORT or EXPORT variables may be declared here<br />

When a MODULE is being defined only objects which have some existence<br />

when the module is not being executed may be declared at the outermost<br />

level. Modules are an extension to standard <strong>Pascal</strong>.<br />

MODULE fail; (this needs the EXTEND option}<br />

VAR j,k,l : integer;<br />

END.<br />

98 <strong>Pascal</strong> Issue 1

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

Saved successfully!

Ooh no, something went wrong!