Something interesting to review:
let>a=0
let>b=0
while>{(%a%a,1
while>{(%b%b,1
endWhile
EndWhile
MDL>%a% %b%
The above will result in 10 and 10
let>a=0
let>b=0
while {(%a%a,1
while {(%b%b,1
endWhile
EndWhile
mdL>%a% %b%
The above also result in 10 and 10
let>a=0
let>b=0
while{(%a%a,1
while{(%b%b,1
endWhile
EndWhile
mdl>%a% %b%
The above result in 0 0
just something interesting with the while command having a space instead of > result the same, but if you take out the space it never made it into the loop.
While command
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
As documented the correct syntax is:
while>{(%a% is used between command and value.
Nothing else is supported. You may find something else works or does not work but don't count on it as it will be unsupported.
while>{(%a% is used between command and value.
Nothing else is supported. You may find something else works or does not work but don't count on it as it will be unsupported.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?