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.

@variable Description<br />

@SENTENCE The statement that invoked the current <strong>UniBasic</strong> program in<br />

progress. Reflects the last command entered at the ECL prompt<br />

or in a paragraph or sentence executed by a <strong>UniBasic</strong> program.<br />

Each <strong>UniBasic</strong> EXECUTE and CHAIN statement also resets<br />

@SENTENCE.<br />

@SM Inserts a subvalue mark (same as @SVM) at compile time.<br />

For information about other delimiter variables, see “Delimiter<br />

@variables” in this appendix.<br />

@SVM Inserts a subvalue mark (same as @SM) at compile time.<br />

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

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

@SYS.BELL Enables or disables a user’s terminal bell.<br />

@SYSTEM.RETURN.<br />

CODE<br />

Returns a value indicating a condition or error after the<br />

execution of an ECL command. For most commands, 0<br />

indicates the command was completed correctly, and -1<br />

indicates that the command was not completed correctly.<br />

For more information, see “@SYSTEM.RETURN.CODE<br />

Values” in this appendix.<br />

@TIME The time (in internal format) when the first program in the call<br />

string program.<br />

@TM Inserts a text mark at compile time. The text mark has no direct<br />

effect, but can be used by <strong>UniBasic</strong> programs.<br />

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

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

@TRANSACTION Returns 1 if there is a transaction occurring, and returns 0 if<br />

there is no transaction occurring.<br />

@TTY Returns the terminal port name, such as tty01, tty1a, or console.<br />

@UDTNO Returns an integer between 1 and the maximum number of<br />

users allowed on the system. Numbers are assigned sequentially<br />

based on the sequence of entry into UniData. Phantom<br />

processes are counted.<br />

@UID The operating system user ID number for the user.<br />

@variables (continued)<br />

B-4

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

Saved successfully!

Ooh no, something went wrong!