MIAMEX 59: Get OPTIONS flags

xcall MIAMEX, MX_GETOPTIONS, options1 {,options2}

MX_GETOPTIONS returns a bitmap field indicating which options1/options2 have been set. Note that these options are the same ones that are defined in the A-Shell initialization file, miame.ini. The normal way these flags are set is via the OPTIONS parameter in miame.ini, or by SET.LIT, or by MX_SETOPTIONS. Note that miame.ini uses the symbol name without the (GOP_ or GOP2_) prefix.

See related information and a sample program under the next topic, MIAMEX 60: Set OPTIONS flags.

Options1 Symbol

Value

Description

GOP_CRNL

&h00000001

Force CRNL line terminators

GOP_EXTFIO

&h00000002

Extended file I/O options

GOP_AS400

&h00000004

AS400 telnet mode (strip 8s and 11s)

GOP_LATIN1

&h00000008

Latin1 character set

GOP_OEM

&h00000010

Set internally for OEM fonts

GOP_EFFUSR

&h00000020

Use effective rather than login user

GOP_AMOS­RUNSBR

&h00000040

Execute AMOS.SBR in-process

GOP_BRKALC

&h00000080

Prefill random file allocations with ]]]

GOP_HEXDEC

&h00000100

"Hexadecade" dates

GOP_NOLEADFF

&h00000200

Strip leading formfeeds from print files

GOP_NOAUTO­XLT

&h00000400

Defeat certain auto F-key translations

GOP_NTTS

&h00000800

Force Windows Terminal Server mode

GOP_FPROUND

&h00001000

Round floating point results to 48 bits

GOP_FLDEMU

&h00002000

Emulate field terminal (Windows)

GOP_EXITWAIT

&h00004000

Forces wait for confirmation before closing session launched with –e

GOP_ABS­LOOKUP

&h00008000

Return absolute value in LOOKUP

GOP_QCLOSE

&h00010000

Close qflock between accesses

GOP_QBUFFER

&h00020000

Normal qflock buffering

GOP_LOCAL­COPIES

&h00040000

Implement multiple spool copies via multiple submissions

GOP_SHLPATH

&h00080000

Special search path for SHL

GOP_AUTO­CCON

&h00100000

Auto-enable Ctrl+C at start of each program

GOP_RAWTABS

&h00200000

Raw tab output to terminal

GOP_XABORT

&h00400000

Allow X out of window

GOP_NO­XABORT

&h00800000

Disable OK in X abort dialog

GOP_STRICT

&h01000000

Strict AMOS compatibility

GOP_NUMPAD_COMMA

&h02000000

Treat decimal point on Windows numpad as comma

GOP_AUTOX

&h04000000

Allow auto expansion of ISAM and memo files

GOP_IDXLOK

&h08000000

Lock entire ISAM IDX during update

GOP_MMAP­TIME

&h10000000

Force update of modify time of mmaped files every minute

GOP_AUTO_­MEMOPEN

&h20000000

Check user memory when opening file; open in memory if present

Definition file: ashell.def

Hex-Decimal Values

 

Options2 Symbol

Value

Description

GOP2_NOPSDLG

&h00000001

Disable the print screen (Ctrl+P) dialog and just print directly; see the PRINTER system parameter.

GOP2_NODELSYS

&h00000002

Do not delete the jobtbl.sys and qflock.sys files on exit, ever. (Otherwise they are delete if no other users are in A-Shell.)

GOP2_GUISPCINDENT

&h00000008

Activate "intelligent" GUI indenting

GOP2_AUTOTPRINT

&h00000010

Treat PRINT statements as TPRINT

GOP2_AUTODLGSTATE

&h00000020

Automatically sets MBF2_DLGSTATE option when a dialog is created via AUI_CONTROL.

GOP2_FSPECNATIVE

&h00000040

Treat some AMOS-illegal specs as native

GOP2_EFS_OUT_AMOS

&h00000100

Auto encrypt output files opened with AMOS specs; requires EFS add-on.

GOP2_EFS_OUT_HOST

&h00000200

Auto encrypt output files opened with native/host specs; requires EFS.

GOP2_EFS_ALLOCATE

&h00000400

Auto encrypt on allocate; requires EFS.

GOP2_EFS_ALCINDEX

&h00000800

Auto encrypt on ALLOCATE’INDEXED; requires EFS.

GOP2_INI_AV

&h00001000

VUE looks for ini.av instead of ini.vue.

GOP2_SBX_RUNDIR

&h00002000

Search for SBX in same dir as RUN first.

GOP2_NOSPOOL

&h00004000

Disable spooling.

GOP2_NOCAPTURE

&h00008000

Disable screen capture (Ctrl+P)

GOP2_MSYNC_MAP

&h00010000

Sync entire map on write to memory mapped file.

GOP2_MSYNC_PAGE

&h00020000

Sync page on write to memory mapped file.

GOP2_NTTS

&h00040000

Variation of NTTS

GOP2_SEQLOK

&h00080000

Sequential file locking (UNIX)

GOP2_LONGDIR

&h00100000

Use long (10.3) directory format (DIR/L)

GOP2_ISAMDISAM

&h00200000

Emulate ISAM w/ DISAM

GOP2_MANIFEST

&h00400000

Look for mft files

GOP2_3DTAB

&h00800000

Allow TAB(X,Y,Z)

GOP2_AUTOX_RAN

&h01000000

Auto-expand "random" (aka "contiguous") data files, record by record as needed

GOP2_RCDIMX

&h02000000

COMPIL /RC allows DIMX

GOP2_TCPNODELAY

&h04000000

(ATS only) Set TCP "No Delay" option (i.e. disable the "Nagle algorithm")

GOP2_NOWHEEL

&h20000000

disable mousewheel scrolling

GOP2_XTAUTOFILTER

&h40000000

enable XTREE autofilter

Definition file: ashell.def

Hex-Decimal Values