Prompting user for data

Top  Previous  Next

You may prompt the user for data using the prompt or promptmask command. This is useful in cases where your script files require some user interaction to provide information needed in running the script. Information is then stored in a variable available use later in the script.

 

Example

 

// prompts user for username and stores in username variable

prompt username "Enter the username: "

 

// username entered is displayed

msg "Username entered is ${username}"

 

See also

 

Defining and using variables





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC