enterNumber
enterNumber( [?promptsl_promptList] [?forms_form] [?initProct_initProcName] [?doneProct_doneProcName] [?formProct_formProcName] [?alwaysMapg_alwaysMap] [?cmdNamet_cmdName] [?cursorx_cursor ] ) =>f_number
Description
Prompts you to enter a number.
When you type a number and press Enter, any characters accumulated in the input line are returned as a number in floating-point format.
Arguments
|
List of prompt strings to be displayed in the CIW. Only the first prompt in the list is used. |
|
|
Options form created with |
|
|
Name of the SKILL function to be called immediately after the enterfunction is started and before any data entry. |
|
|
Name of the SKILL function to be called when the enterfunction is terminated. The number is passed as the third argument to the done proc. |
|
|
Name of the SKILL function to be called when the options form is displayed. |
|
|
Determines whether or not to immediately display the options form. |
|
|
Name you associate with the enterfunction. If the command name is set, it can be accessed with |
|
|
An integer argument that will default to an appropriate cursor. For example, |
|
Values Returned
Retrieve data through the callback procedure t_doneProcName instead of using the return value for this enterfunction.
Examples
The prompt "Enter any number" is displayed on the CIW prompt line. When you type a number and press Enter, the enterfunction returns that number.
enterNumber( ?prompts
list( "Enter any number." )
)
Related Topics
Return to top