According to help:
Ask>prompt,result_variable
Displays a Yes, No dialog box with the specified prompt. If the user presses 'Yes', result_variable is set to 'YES', else result_variable becomes 'NO'.
Ok, I must be missing something. According to help, result_variable should ALWAYS be set to something. I get nothing in my result_variable with the following code:
Ask>Test, result_variable
Message>result_variable
Ask not working?
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
It looks to me like you have an extra space character after the prompt.
Change from:
Change from:
To:Ask>Test, result_variable
Message>result_variable
Also be aware of trailing spaces which will also cause surprises with variables and labels. The compiler reads space characters as real characters to be processed. In the Editor you can use Edit, Show all Chars, and Remove Trailing Spaces.Ask>Test,result_variable
Message>result_variable
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!