IFNO Conditional branch if ‘No’ is clicked in ASK dialog box
<< Click to Display Table of Contents >> Navigation: Robo-FTP User's Guide > Script Programming > Script Commands > All Script Commands > IFNO Conditional branch if ‘No’ is clicked in ASK dialog box |
Syntax: |
IFNO |
GOTO [ label ] |
Arguments: |
[ label ] |
A valid label within the current script file. |
Options: |
None |
|
This command not supported when running in a minimized window or as a Windows service.
This script command is used in conjunction with the ASK command. If you click the ‘No’ button in the ASK dialog box, this command branches to [ label ].
For example:
ASK "Yes or No?"
IFNO GOTO answer_is_no
MESSAGEBOX "You chose 'yes'"
GOTO done
:answer_is_no
PLAYSOUND "C:\Windows\Media\chord.wav"
MESSAGEBOX "You chose 'no'"
Related command(s): ASK, IFYES, PROMPT, MESSAGEBOX, BROWSE, PLAYSOUND, GOTO, CONSOLE, CONSOLEMSG
See also: Running Robo-FTP With Prompting