(initdia [flag])


Forces the next command to use a dialog or command interface.


The flag argument is an optional integer. If it is missing or nonzero, the next native command attempts to use a dialog interface instead of its command line prompts; otherwise, the command line interface is preferred.

The function affects very few native commands and always returns nil.

Example

The following example forces the Hatch command to use its dialog:

(initdia)

(command "_HATCH")

Tell me about...

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language