msg 1 + 32 vs. 32 + 1 (Rational?)
-
- Posts: 577
- Joined: 09 Nov 2011 20:20
- Location: USA
msg 1 + 32 vs. 32 + 1 (Rational?)
I'm curious what is the reason why 1 + 32 will not generate the same result as 32 + 1 in the scripting "msg" command for the button_icons as it is a bitwise syntax?
Thank you
Computer/Systems Background = Expert | Windows 10 Pro (64-Bit) | Dell Precision 7720
Re: msg 1 + 32 vs. 32 + 1 (Rational?)
You aren't by chance quoting the numbers are you? Because these all display identical for me (or maybe I am just not seeing the difference):
whereas these do display differently because numbers shouldn't be quoted:
Code: Select all
msg , 32+1; msg , 1+32; msg , 33; msg , 29+4;
Code: Select all
msg , "32+1"; msg , "1+32";
-
- Posts: 577
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: msg 1 + 32 vs. 32 + 1 (Rational?)
As numeric not string:
Upside-down Exclamation point, OK and CANCEL {default OK}
Question mark, OK only button
Code: Select all
msg $NameStatus . " entire folder structure for <br><br>'$TypeFind'<br><br>Proceed?", 1 + 32);
Code: Select all
msg $NameStatus . " entire folder structure for <br><br>'$TypeFind'<br><br>Proceed?", 32 + 1);
Computer/Systems Background = Expert | Windows 10 Pro (64-Bit) | Dell Precision 7720
Re: msg 1 + 32 vs. 32 + 1 (Rational?)
You have an incorrect closing parenthesis, remove the )
-
- Posts: 577
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: msg 1 + 32 vs. 32 + 1 (Rational?)
Good catch!You have an incorrect closing parenthesis, remove the )
THANK YOU
Added as "Bug" for consideration:
viewtopic.php?f=2&t=19666
Computer/Systems Background = Expert | Windows 10 Pro (64-Bit) | Dell Precision 7720