Project

General

Profile

$ » History » Version 3

Per Amundsen, 08/14/2015 02:13 PM

1 1 Per Amundsen
_Added 1.9.0_
2
3 3 Per Amundsen
*<notextile>$?*!="message"</notextile>*
4 1 Per Amundsen
5
Prompts the user for input and returns the result.
6
7
_See also [[$input]]._
8
9
*Parameters*
10
11 2 Per Amundsen
<notextile>*</notextile> - Use a password Editbox.
12
<notextile>!</notextile> - Use a yes/no dialog which will return [[$true]] if user clicks yes, otherwise [[$false]].
13 1 Per Amundsen
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>