UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software

rocketsoftware.com
from rocketsoftware.com More from this publisher
11.04.2013 Views

UniBasic@variables This appendix lists the @variables available in UniBasic, the delimiter @variables, and the codes returned by @SYSTEM.RETURN.CODE. Appendix B

@variables The following table describes the valid @variables. @variable Description @ACCOUNT Returns the operating system path where you first entered UniData. Note that the value of @ACCOUNT does not change when a LOGTO statement is executed. @AM Inserts an attribute mark at compile time. For information about other system delimiter @ variables, see “Delimiter @variables” in this appendix. @COMMAND Last UniData command executed. Changes the value for each statement executed at the UniData ECL prompt ( : ) and in the UniBasic EXECUTE statement. @CONV Used with CALCULATE and the braces {} function. Returns the conversion code from a dictionary item. @CRTHIGH Height of the CRT screen. @CRTWIDE Width of the CRT screen. @DATA DATA statements used in conjunction with INPUT statements are stored in a data stack or input queue. This stack is accessible in the @DATA variable. Data elements are delimited by ASCII 013 (CR). @DATA is a READ ONLY variable. @DATE System date, in internal format, when the program began executing. @DAY Two-digit day of the month. @DICT Current dictionary (must perform an assignment). @FORMAT Used with CALCULATE and the braces {} function. Returns the format code from a dictionary item. @GID For UNIX, returns the group ID assigned to a user. For Windows NT or Windows 2000, returns a string that contains all the group names (separated by value marks) to which the user belongs. @variables B-2

<strong>UniBasic</strong>@variables<br />

This appendix lists the @variables available in <strong>UniBasic</strong>, the delimiter<br />

@variables, and the codes returned by @SYSTEM.RETURN.CODE.<br />

Appendix<br />

B

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

Saved successfully!

Ooh no, something went wrong!