GetNumber
The GetNumber function opens a dialog to request a number. If you click [OK], the entered number is returned.
|
|
number, bOK = GetNumber( number=nil, sPrompt=nil, sTitle=nil )
All arguments are optional and assume default values beyond the last argument you specify. To use a default argument but follow it with a specified argument, use a nil in its place..
The window shown above was created using the following code. Note that the last argument, the window title, was omitted and left to the default: