InputInteger(Prompt: String[, Title: String, Default: String]): Number
Displays a prompt in a dialog box, User must input a valid integer or click a button, returns an integer value from the integer spin edit control.
Notes: If User clicks OK or presses Enter, InputInteger function returns what is in the integer control. If User clicks Cancel or presses Esc, function returns Null.
The InputInteger function syntax has these named arguments:
Parameter |
Description |
|---|---|
Prompt |
Required. String expression displayed as the message in the dialog box. |
Title |
Optional. String expression displayed in the title bar of the dialog box. If you omit title, the application name is placed in the title bar. |
Default |
Optional. Integer value displayed in the integer spin edit control as the default response if no other input is provided. If you omit default, the value is zero. |
See also Scripted Form InputInteger method and Input Grid InputInteger method.