std-sys-dosbased-p


Synopsis

(std-sys-dosbased-p)

Description

Predicate if the current AutoCAD version is running under a DOS based operating system, like DOS, MSWIN or OS/2. to be able to use command under a shell.

Implemented if (GETVAR "COMSPEC") is available.

Cached version

This function is only called once, the result is stored in the global symbol *SYS-DOSBASED*. All subsequent calls just return a result dependent on the value of this symbol.

Arguments

None

Return Value

T or nil.

Side Effects

Works with the global symbol *SYS-DOSBASED*.

Module

Defined in STDINIT