I expected that #break would ignore the #end in an #if statement and proceed
to the #end of the current #while loop, but this is not the case. Is this
intended?
An example:
#while (True)
#if (True) #break #end
#end
Will loop forever. It would sure help speed up some code if this worked
differently. Is there a reason why #break behaves the way it does with #if
statements?
Just an additional thought. It would also be very cool if
#while (condition & condition)
would not evaluate the second condition if the first were false. I think
that implementing this might cause a slow-down in code where the behavior
was not needed, however.
-Shay
Post a reply to this message
|