Attributes

Namespace rswhite4 at googlemail.com
Tue Apr 2 07:25:29 PDT 2013


On Tuesday, 2 April 2013 at 14:17:19 UTC, Jacob Carlborg wrote:
> On 2013-04-02 15:40, Namespace wrote:
>> Quick question about attributes:
>> Is it intended that after the '@' can come any number of 
>> blanks?
>> Which means that '@property' is the same as '@         
>> property'?
>
> Hmm, I'm not sure. I mean, "@property" is not a single token, 
> it's two. In general you can have arbitrary amount of 
> whitespace between tokens.

Yes all attributes consist of two tokens. But I was a bit shocked 
as I tried it and it worked. :D


More information about the Digitalmars-d-learn mailing list