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
On 18/03/2013 03:11, Paul Ishenin wrote:
> 18.03.13, 9:27, Xiangrong Fang пишет:
>> I am sorry I didn't follow this thread although I am the "OP" :-). If
>> I understand correct, I would suggest NOT introduce the "absolute"
>> keyword, instead, make it ALWAYS absolute. i.e.:
>>
>> with a = SomeOb
> Is it related to COM or DLL stuff?
No, though might be if you want to export with your own symbol in DLL
> Where is this kind of usage documented in the manual?
http://www.freepascal.org/docs-html/ref/refsu64.html
--
View this message in context:
http://free-pascal-general.1045716.n5.nabbl
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
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
> 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'];
--
View this message in context:
http://free-pascal-general.1045716.n5.nab
> PS. I can't believe Embarcadero went for ":" instead of "=" for
declaring bounded/restricted generics :-/
That's correct, since : means "of type" in a declaration.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/a-proposal-about-with-syntax-tp5713601p57136