This shows you the differences between two versions of the page.
en:prompt [2016/08/12 13:07] admin |
en:prompt [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Prompt (Function) ===== | ||
- | |||
- | ==== Format ==== | ||
- | |||
- | **prompt** ( [[expressions|prompt]] )\\ | ||
- | **prompt** ( [[expressions|prompt]] , // | ||
- | |||
- | returns [[stringexpressions|string_expression]] | ||
- | |||
- | ==== Description ==== | ||
- | |||
- | This function displays a message box with an input box and returns a string value of what the user typed in the box. You may set the default value by setting a second string argument. | ||
- | |||
- | ==== Example ==== | ||
- | |||
- | < | ||
- | if a$ = " | ||
- | print " | ||
- | else | ||
- | print " | ||
- | end if</ | ||
- | draws\\ | ||
- | {{: | ||
- | |||
- | ==== See Also ==== | ||
- | {{page> | ||
- | |||
- | ==== History ==== | ||
- | |0.9.9.42|added statement| | ||