Added the _INPUTBOX$ function and the _KEYCLEAR statement.
Modified the _PROMPT function. (The second parameter is now optional.)
The _INPUTBOX$ function displays a prompt in a dialog box, waits for the user to input text or click a button, and returns a string containing the contents of the text box. The returned string is an empty string ("") if the user cancelled.
Syntax
_INPUTBOX$ (title$, message$)
_INPUTBOX$ (title$, message$, defaultValue)
Return value: a string
_KEYCLEAR clears the keyboard input buffer.
Syntax
_KEYCLEAR
The _PROMPT "Popup Box" function is used in a program to receive 1 string of characters via the web browser's standard prompt dialog for user input of some text. The running program will wait until the user either submits the text or cancels the dialog (returning no text.)
Syntax
_PROMPT (message)
_PROMPT (message, defaultValue)
Return value: a string
- message is a simple literal string or a string expression of any complexity
- defaultValue is a simple literal string or a string expression of any complexity
No comments:
Post a Comment