Why are opCall's not implicitely assignable?
Ivan Senji
ivan.senji_REMOVE_ at _THIS__gmail.com
Wed Sep 27 07:32:36 PDT 2006
Carlos Santander wrote:
> Ivan Senji escribió:
>> Karen Lanrap wrote:
>> ...
>> with car.roof
>> {
>> .topcoat = COLOR.RED;
>> .undercoat = COLOR.WHITE;
>> }
>>
>> else (it is a property of type coat):
>>
>> with car.roof
>> {
>> .topcoat.color = COLOR.RED;
>> .undercoat.color = COLOR.WHITE;
>> }
>>
>>
>>>
>>> (By the way: forgetting to delete a point can have desastrous results
>>> in D.)
>>
>> What point?
>
> What Karen is saying is that your examples should be:
Ooops, of course they should be without that ".", but are you sure that
is what Karen is talking about? Hmm, have to reread...
More information about the Digitalmars-d-learn
mailing list