Skip to content

dos_getstring

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Windows Dialog box equivalent to LISP getstring function.

Syntax

(dos_getstring title prompt [default [length]])

Parameters

title

A string containing the dialog box title.

prompt

A string containing a prompt.

default

A default string value.

length

A maximum character length limit.

Returns

A string value, if successful.

nil on cancel or on error

Example

Command: (dos_getstring "Text" "Enter some text")
"This is a string of text"

Clone this wiki locally