Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Iif(lExp, .t., .f.)?
Message
From
23/01/2010 14:39:06
 
 
To
22/01/2010 17:12:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01445223
Message ID:
01445659
Views:
48
>>>>It reads, "I've no clue what logical expressions are".
>>>>"IF THIS VALUE IS FALSE" would be
>>>>
>>>>IF NOT THIS.VALUE
>>>>
>>>>>Example:
IF THIS.VALUE = .F.
reads as IF THIS VALUE IS FALSE.
>>>
>>>I've seen this every place I've worked on code. It drives me nuts, but I've actually had other developers change my IF !this.value to IF this.value = .F. so I've learned to live with it :o) I don't sweat the small stuff.
>>
>>And I won't use ! for NOT. I find it's too hard to see. I always spell out NOT>
>>
>>Tamar
>
>I must be weird then; Always loved simplicity ;
>
>
>If !ok
>  return   && .t. 
>
My problem with that code is that I have to look too hard to see whether it's IF !ok or IF lok.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform