INPUT VARIABLE

From Macros Wiki
Revision as of 18:14, 7 March 2013 by Mikeo (talk | contribs) (Created page with "{{Up}} {{Command|syntax=INPUT <prompt> <variable> [<default> <caption>] |description=:Create an input box to as the user for a single value. |par...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Up

Command

INPUT <prompt> <variable> [<default> ]


Create an input box to as the user for a single value.

Parameters

<prompt>
Text for the prompt on the dialog.
<variable>
Variable to set to the response.
<default>
Default value to be shown on the dialog when it is first displayed.
Caption to be shown at the top of the dialog.

Example

INPUT "Part Width", ww, 20.5, "Part Data"
INPUT "Part Name", n$, "My Part", "Part Data"