On Tuesday 12 November 2013 14:37:41 Marcos Douglas wrote: > On Tue, Nov 12, 2013 at 9:25 AM, Martin Schreiber <[email protected]> > > > That is a good idea after all. > Pascal has the 'absolute' keyword so maybe could be: > > with rec1 absolute r do > r.field1:= 123 > end; > > Maybe use 'alias' keyword > > with rec1 alias r do > r.field1:= 123 > end; > or " with r: rec1 do r.field1:= 123 end;
with r: rec2, s: r.field1 do r.field1.field1:= 123; //or s.field1:= 123; end; " or " with r:= rec1 do r.field1:= 123 end; with r:= rec2, s:= r.field1 do r.field1.field1:= 123; //or s.field1:= 123; end; " 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

