<div dir="ltr">Hi everybody<br><div class="gmail_quote"><div dir="ltr"><div><div><div><div><br></div>I add new feature to FPC compiler to simplify programming.<br></div>this is While - Otherwise working like While - Else in python and has backwards compatibility.<br><br></div>Examples<br><br></div><div>Ex1: While (I<5) do begin Writeln(I); Dec(I); end otherwise writeln('otherwise');<br><br></div><div>Ex2: While (I<5) do begin Writeln(I); Dec(I); break; end otherwise writeln('otherwise');<br><br>Ex3: if (I<10) then While (I<5) do begin Writeln(I); Dec(I); break; end otherwise writeln('otherwise') else writeln('else'); <br><br></div><div>I attached a svn diff file to email and I'm going to add For-Otherwise and more.<br><br></div><div>please test it and let me know what you think.<br></div><div><br></div><div>mohsen<br></div></div>
</div><br></div>