3.3.2.26 GetString

Opens a dialog box in which the user can enter a text string.


Syntax:

getstring  (message) initiaValue[(dialogTitle)]

Message is the dialog box message, initialValue is the initial text string value, and dialogTitle appears in the dialog box title bar. The user-entered string is put into the string variable %B.


Note on Message File

In addition to entering literal text for message, you can specify $[OMGfileName].Section.Title. This enables you to access a string title in a message file. The OMGfileName extension is assumed to be OMG. If OMGfileName is not specified, the ORIGIN.OMG file is assumed. For an example using this syntax, see the Type command.