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.

Examples<br />

In the following example, the statement prints the message HI in the fifth column<br />

from the left of the screen and the tenth row down from the top:<br />

PRINT @(5,10):"HI"<br />

In the next example, the program segment prints two messages at different points on<br />

the screen:<br />

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

Option Description<br />

-72 Sent by function key F9.<br />

-73 Sent by function key F10.<br />

-74 Sent by the next-page key.<br />

-75 Sent by the previous-page key.<br />

-76 Sent by the scroll forward/down key.<br />

-77 Sent by the scroll backward/up key.<br />

-78 Sent by the set-tab key.<br />

-79 Sent by the terminal up arrow key.<br />

-80 Out of “keypad transmit” key.<br />

-81 Turn bold on.<br />

-82 Turn bold off.<br />

-83 Turn standout on.<br />

-84 Turn standout off.<br />

ROW = 0 ; COL = 0<br />

PRINT @(COL,ROW):"TOP":@(COL,ROW+21):"BOTTOM"<br />

In the next example, the program segment initiates reverse video mode, prints a<br />

prompt, and then stops reverse video mode:<br />

PRINT @(-13)<br />

PRINT "ENTER NAME:":<br />

PRINT @(-14)<br />

@ Function Options (continued)

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

Saved successfully!

Ooh no, something went wrong!