Re: [fpc-pascal] Re: a proposal about "with" syntax

2013-04-02 Thread Noah Silva
Hi, Actually, this sort-of makes sense. I find "as" or something similar to be more aesthetically pleasing, but @ seems to make it clear that the identifier is just an alias (pointer address), and not a real temporary variable. Of course I would be happy for any keyword or syntax that actually a

Re: [fpc-pascal] Re: a proposal about "with" syntax

2013-03-18 Thread Xiangrong Fang
2013/3/18 leledumbo > > I cannot recall if there is already a notion of "alias" in free pascal, > if > not then we just introduce this idea within the scope of "with" expression. > > Let me give you one then: > > procedure p; [public, alias: 'my_p']; > Is it related to COM or DLL stuff? Where is

Re: [fpc-pascal] Re: a proposal about "with" syntax

2013-03-18 Thread Ludo Brands
On 03/18/2013 02:30 PM, leledumbo wrote: >> I cannot recall if there is already a notion of "alias" in free pascal, if > not then we just introduce this idea within the scope of "with" expression. > > Let me give you one then: > > procedure p; [public, alias: 'my_p']; > And another one: var