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.

@variables<br />

The following table describes the valid @variables.<br />

@variable Description<br />

@ACCOUNT Returns the operating system path where you first entered<br />

UniData. Note that the value of @ACCOUNT does not change<br />

when a LOGTO statement is executed.<br />

@AM Inserts an attribute mark at compile time.<br />

For information about other system delimiter @ variables, see<br />

“Delimiter @variables” in this appendix.<br />

@COMMAND Last UniData command executed. Changes the value for each<br />

statement executed at the UniData ECL prompt ( : ) and in the<br />

<strong>UniBasic</strong> EXECUTE statement.<br />

@CONV Used with CALCULATE and the braces {} function. Returns<br />

the conversion code from a dictionary item.<br />

@CRTHIGH Height of the CRT screen.<br />

@CRTWIDE Width of the CRT screen.<br />

@DATA DATA statements used in conjunction with INPUT statements<br />

are stored in a data stack or input queue. This stack is accessible<br />

in the @DATA variable. Data elements are delimited by ASCII<br />

013 (CR). @DATA is a READ ONLY variable.<br />

@DATE System date, in internal format, when the program began<br />

executing.<br />

@DAY Two-digit day of the month.<br />

@DICT Current dictionary (must perform an assignment).<br />

@FORMAT Used with CALCULATE and the braces {} function. Returns<br />

the format code from a dictionary item.<br />

@GID For UNIX, returns the group ID assigned to a user. For<br />

Windows NT or Windows 2000, returns a string that contains<br />

all the group names (separated by value marks) to which the<br />

user belongs.<br />

@variables<br />

B-2

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

Saved successfully!

Ooh no, something went wrong!