On Tue, Nov 12, 2013 at 9:25 AM, Martin Schreiber <[email protected]> wrote:
> Hi,
> Here examples of the planned compound statements. Additional ';' after
> statements are possible, they are treated as empty statements.
> "
>  [...]
>
> with rec1:r do
>  r.field1:= 123
> end;
>
> with rec2:r,r.field1:s do
>  r.field1.field1:= 123; //or
>  s.field1:= 123;
> end;
>
> [...]
>
>"
> Opinions?

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;

Best regards,
Marcos Douglas

PS: What do you think about 'namespaces' as we talked on official
pascal list? Could exist in MSElang?

------------------------------------------------------------------------------
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

Reply via email to