09-02-2010, 09:39 AM
|
#9 |
Join Date: Sep 2008 Location: Geelong Thanks: 2,084
Thanked 1,474 Times in 912 Posts
| Re: How to Exit for or While Loop in Easylanguage? Quote:
Originally Posted by BlowFish » You live and learn - never realised that EL had a break statement, seem to recall early implementations did not though could very well be mistaken. What next a switch statement  | Don't mean to say you are out of touch... but
yes, SWITCH is implemented. Code: Switch(Value1)
Begin
Case 1 to 5:
Value2 = Value2 + 1;
Case 10, 20, 30:
Value3 = Highest(High,10);
Case is > 40:
Value3 = Value3 + 1;
Default:
Value5 = Value5 + 1;
End;
__________________ Only an idiot would reply to a stupid post |
| |