Repository navigation
dos_getint
Dale Fugier edited this page Jul 1, 2026
·
1 revision
Windows Dialog box equivalent to LISP getint function. ADSRX limits integers to 16-bit signed numbers with values ranging from +32767 to -32,768.
(dos_getint title prompt [flags [default [max [min]]]])
title
A string containing the dialog box title.
prompt
A string containing a prompt.
flags
An optional bit-coded integer identifying the desired validation. Specify more than one validation by adding the following bit values:
| Value | Description |
|---|---|
| 0 | No additional validation. |
| 1 | Do not allow a null, or empty, value. |
| 2 | Do not allow a zero value. |
| 4 | Do not allow a negative value. |
default
An optional default value.
max
An optional maximum allowable value.
min
An optional minimum allowable value.
An integer, if successful.
nil on cancel or on error
Command: (dos_getint "Copies" "Enter number of copies")
2