Project

General

Profile

$ » History » Revision 4

Revision 3 (Per Amundsen, 08/14/2015 02:13 PM) → Revision 4/10 (Per Amundsen, 08/14/2015 02:13 PM)

_Added 1.9.0_ 

 *<notextile>$?*!="message"</notextile>* 

 Prompts the user for input and returns the result. 

 _See also [[$input]]._ 

 *Parameters* 

 <notextile>*</notextile> - Use a password Editbox. 
 <notextile>!</notextile> - Use a yes/no dialog which will return [[$true]] if user clicks yes, otherwise [[$false]]. 
 ="message" - Message to display. 

 *Example* 

 <pre> 
 ; Ask the user for his name and print the result. 
 //echo $?="What is your name?" 

 ; Ask the user for his password and print the result. 
 //echo $?*="What is your password?" 

 ; Ask the use to continue with a yes/no dialog. 
 //echo $?!="Do you want to continue?" 
 </pre>