11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PROCREAD<br />

Syntax<br />

PROCREAD var {THEN statements [END] | ELSE statements [END]}<br />

Description<br />

The <strong>UniBasic</strong> PROCREAD command assigns the string value of the primary input<br />

buffer of the calling Proc to a variable. PROCREAD can be used to access the<br />

primary input buffer of a calling proc.<br />

Note: A proc is a PQ-type VOC record.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

1-583 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

var Specifies variable to which to assign the string value of the<br />

primary input buffer of the calling proc.<br />

THEN statements END THEN executes if this program was called by a proc. END is<br />

required to terminate multiline THEN statements.<br />

ELSE statements END ELSE executes if this program was not called by a proc. END is<br />

required to terminate multiline ELSE statements.<br />

PROCREAD Parameters

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

Saved successfully!

Ooh no, something went wrong!