Implies operator

Roberto Mariottini rmariottini at mail.com
Wed Nov 15 00:16:06 PST 2006


Hasan Aljudy wrote:
> Mariano wrote:
>>
>> but the implication makes it far more clear for common day speach
>>
>>   if( check_boundaries -> a.length <= max_int )
>>       process(a);
>>
>> makes more sence than
>>
>>   if( !check_boundaries || a.length <= max_int )
>>       process(a);
> 
> What does that mean? what's 'a' and what's 'check_boundaries'?

You can view it as:

   if( check_boundaries )
     if( a.length <= max_int )
       process(a);

Ciao
---
http://www.mariottini.net/roberto/
SuperbCalc: http://www.mariottini.net/roberto/superbcalc/



More information about the Digitalmars-d mailing list