Updated December 2013 (Added STR0)
OPTIONS=option {,option} {,option}...
The OPTIONS command is used to set various options that don’t fall neatly into another category. You can specify several options on a single line separated by commas, or you can specify them using multiple OPTIONS statements.
Options |
Description |
Causes LOOKUP to return a positive value. | |
Causes XCALL AMOS to execute commands as true subroutines. | |
Special AS400 TELNET option. | |
Causes OPEN to see if file is already in memory. | |
Causes PRINT statements to act like TPRINT (i.e., create static text controls). | |
Pre-fill random files with ]]]]]]]. | |
Terminate sequential files with CRLF. | |
CRNL |
Same as CRLF. |
AUTODLGSTATE |
Make the MBF2_DLGSTATE option be the default for all dialogs. If you set it as the default, the only way to turn it off for individual dialogs would be to use MX_SETOPTIONS (GOP2_AUTODLGSTATE ) to clear the flag before creating the dialog. |
Returns "effective user name." | |
Various options related to "EFS," A-Shell's encrypted file system | |
EXITWAIT |
Causes A-Shell to wait for a keyboard response before closing the window down due to the –e switch, thus giving you a chance to read any final screen messages before the window is destroyed. |
Allows access to contiguous files that are NOT a multiple of 512 bytes. | |
Emulate field terminal attributes. | |
Apply rounding factor of .000005 to INT and FIX. | |
Tokenizes horizontal fixed-pitch spacing for use in variable-spacing GUI screens | |
Special hexadecade date processing. | |
ISAM_IDXLOK |
Causes the entire ISAM index file to be locked whenever it would otherwise only be necessary to lock the "rock" (i.e. during index update operations.) For reasons that no one understands, this actually seems to give better results in some Windows network environments. |
Remap OEM character set to Latin1. | |
Causes DIR.LIT to use the 10.3 format by default | |
Disables auto expansion of ISAM & INMEMO files (same as NOISAM_AUTOX). | |
NOAUTOXLT |
(Windows only) Disables the automatic translation of the PageUp and PageDn keys under A-Shell/Windows to Ctrl+R and Ctrl+T. This way you could translate the keys to something else. (See FIXTRN.LIT.) |
Discards field attributes. | |
NOISAM_AUTOX |
Disables auto expansion of ISAM and INMEMO files; same as NOAUTOX. |
NOJOBMAP |
(UNIX only) Prevents JOBTBL.SYS from being memory mapped. Normally JOBTBL.SYS will be memory mapped or not depending on whether QFLOCK.SYS (i.e. whether the QUEUE= parameter specifies "DISK" or "MEM"). The option is mainly of interest for debugging or other exotic situations. |
Eliminates the automatic space associated with the on/off field attributes. | |
Disables the otherwise automatic conversion of the mouse wheel events into Up/DownArrow key presses. | |
Prevents user from closing window containing an active program. | |
Identifies A-Shell instances like NT Terminal Server sessions. | |
NUMPAD_COMMA |
Converts the "." key on the number pad to a comma for the convenience of locales which use comma as the decimal point. |
RAWTABS |
(UNIX variants only) Causes A-Shell to output raw tab characters rather than converting them to spaces. It would only be useful if your terminal emulator had some kind of special tab handling feature. |
Tells the compiler to allow DIMX statement in /RC mode. | |
Alters the search path for SBX modules. | |
Enables locking on sequential files for UNIX. | |
STR0 |
Causes numeric conversions to string, whether implicit or explicit, via str(x), to retain the leading zero for fractional values between -1 and 1. Normally the leading zero is stripped in all cases. For example, if x=0.5 and y=-0.3, str(x) and str(y) would normally return ".5" and "-.3" respectively, whereas with OPTIONS=STR0 set, the output would be "0.5" and "-0.3". |
Causes A-Shell to emulate various AMOS functions. | |
Causes PolyShell to treat the top status line as part of the screen. | |
Generates error 255 when user tries to close window if program running. |
History
2013 December, A-Shell 1369: Add STR0.