Hi, Here examples of the planned compound statements. Additional ';' after statements are possible, they are treated as empty statements. " begin a:= 1; b:= 2 end;
with rec1:r do r.field1:= 123 end; with rec2:r,r.field1:s do r.field1.field1:= 123; //or s.field1:= 123; end; if a = 1 then b:= 1 end; if a = 1 then b:= 1; c:= 3 else b:= 2 end; if a = 1 then if b = 1 then c:= 3 end else b:= 2 end; case a of 1: b:= 10 2: b:= 15 else b:= 0 end; //break and continue can be used in loops repeat b:= b * 2; a:= a + 1 until a > 4; while a > 4 do b:= b * 2; a:= a + 1 end; for a in 0..13 do b:= b + ar[a] end; //loop variable is readonly in loop and valid after loop for a in 13..1 do b:= b + ar[a] end; if c >= 0 then //I am not happy with that additional check for a in 0..c do b:= b + ar[a] end end; " Opinions? Martin ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

