$ » History » Version 1
Per Amundsen, 08/14/2015 02:12 PM
1 | 1 | Per Amundsen | _Added 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$?*!="message"* |
||
4 | |||
5 | Prompts the user for input and returns the result. |
||
6 | |||
7 | _See also [[$input]]._ |
||
8 | |||
9 | *Parameters* |
||
10 | |||
11 | * - Use a password Editbox. |
||
12 | ! - Use a yes/no dialog which will return [[$true]] if user clicks yes, otherwise [[$false]]. |
||
13 | |||
14 | *Example* |
||
15 | |||
16 | <pre> |
||
17 | ; Ask the user for his name and print the result. |
||
18 | //echo $?="What is your name?" |
||
19 | |||
20 | ; Ask the user for his password and print the result. |
||
21 | //echo $?*="What is your password?" |
||
22 | |||
23 | ; Ask the use to continue with a yes/no dialog. |
||
24 | //echo $?!="Do you want to continue?" |
||
25 | </pre> |