True/False Returned Values

Ideas for new features & functions

Moderators: Dorian (MJT support), JRL

Post Reply
BobDDstryr
Junior Coder
Posts: 38
Joined: Fri Oct 22, 2010 2:47 am

True/False Returned Values

Post by BobDDstryr » Wed Dec 15, 2010 9:25 pm

True/False aren't equivalent from different functions.

If I have a dialog, with a checkbox,

Dialog>Prompt
.
.
Checkbox=fresh,Fresh,200,140,100,FALSE
EndDialog>OS_Prompt

After showing the Dialog, the value for fresh will either be set to True or False (not all capital letters that I entered for the default - but with only the first letter capitalized)

However, using the Assigned function:
Assigned>fresh, fresh_set
messagemodal>%fresh_set%

false_set will be either TRUE or FALSE

So, since True != TRUE and False != FALSE, I either need to add Uppercase> to results returned by the dialog - or keep track of if the value was set by Assigned or the dialog. It would be nice to have a standard for True/False that all of the provided functions use.

User avatar
Marcus Tettmar
Site Admin
Posts: 7393
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Dec 16, 2010 10:14 am

Hi,

This has been noted and is already on the to do list. Thanks for your feedback.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts