11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

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.

Parameters<br />

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

Parameter Description<br />

col.expr Specifies the column position to place the cursor.<br />

Can be a literal value or variable.<br />

Must be a positive numeric value.<br />

Value 0 is the leftmost column on the screen. For most terminals, col.expr<br />

can range from 0 to 79 (the right-hand side of the screen).<br />

,row.expr Specifies the row at which to place the cursor. Defaults to the current row.<br />

Can be either a literal value or variable.<br />

Must be a positive value.<br />

Value 0 is the top of the screen. For most terminals, row.expr can range<br />

from 0 to 23 (the last row on the screen).<br />

-num.expr Specifies an @ terminal function. For valid @ terminal functions and their<br />

effects, see the next table.<br />

@ Parameters<br />

Tip: Use PRINT, DISPLAY, and CRT in combination with the <strong>UniBasic</strong> @ function<br />

to position the cursor on the screen before printing or to execute other terminal<br />

functions. Execute the ECL REUSE.ROW command to determine whether a line feed<br />

is executed when the <strong>UniBasic</strong> PRINT @ function references column only. For<br />

example, PRINT @(10) rather than PRINT @(3,10).<br />

@ Function Options<br />

The following @ function options direct the terminal to take an action.<br />

Option Description<br />

-1 Clear screen, home cursor.<br />

-2 Home cursor.<br />

-3 Clear from cursor to end of screen.<br />

@ Function Options<br />

@ 1-62

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

Saved successfully!

Ooh no, something went wrong!