Project

General

Profile

$ » History » Version 4

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 4 Per Amundsen
="message" - Message to display.
14 1 Per Amundsen
15
*Example*
16
17
<pre>
18
; Ask the user for his name and print the result.
19
//echo $?="What is your name?"
20
21
; Ask the user for his password and print the result.
22
//echo $?*="What is your password?"
23
24
; Ask the use to continue with a yes/no dialog.
25
//echo $?!="Do you want to continue?"
26
</pre>