INPUT VARIABLE

From Macros Wiki
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"