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.

Parameter Description<br />

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

6 Current number of lines printed on the terminal or printer page.<br />

7 Terminal type.<br />

8 Current tape block size.<br />

9 Current CPU millisecond count from the start of the program.<br />

10 1 – The current stack (STON) condition is enabled.<br />

0 – Current stack is inactive.<br />

11 n – A SELECT list is active. n = # of items selected.<br />

0 – No SELECT list is active.<br />

12 Current time in milliseconds (local time).<br />

13 Sleeps one second.<br />

14 Number of characters in the type-ahead buffer. If the number of characters<br />

in the internal buffer exceeds 511 bytes, this parameter returns 511.<br />

15 Returns command options as a character string.<br />

16 Run level, same as @LEVEL.<br />

17 Indicates where UniData transfers control of a <strong>UniBasic</strong> program when the<br />

next RETURN statement executes.<br />

0 – Program has no called subroutine or internal subroutine GOSUB to<br />

return to.<br />

1 – Returning from a CALL.<br />

2 – Returning from a GOSUB.<br />

18-29 Not currently used.<br />

30 Shows the level to which the interrupt key is set. If the value is 0, the<br />

interrupt key is enabled. For all other values, the interrupt key is disabled.<br />

To enable the interrupt key, you must match the number of BREAK OFF<br />

statements in a program with an equal number of BREAK ON statements<br />

to bring the value of SYSTEM(30) to 0.<br />

31 Returns the value of $UDTHOME.<br />

32 Returns current BASICTYPE.<br />

SYSTEM Parameters (continued)

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

Saved successfully!

Ooh no, something went wrong!