>>>>>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
>>
>
>My problem with that code is that I have to look too hard to see whether it's IF !ok or IF lok.
>
>Tamar
Hmmm. When I see NOT in place of !, I tend to wonder if the writer is lacking a deeper understanding of the aspects of the programming language. No need to spell out NOT when ! will work just fine.
:o) Just couldn't resist. I'm ok with:
IF ! LLOkay
IF NOT LLOkay
IF LLOkay = .F.
IF LLOKay = .T.
IF LLOkay
All work. To me, which format is used is more user preference than anything else. I prefer ! LLOkay, but over the years I've had to decipher code written in all formats. I've had folks change my choice which is a pet peeve when it does nothing to the behavior, but hey, that's life :o)
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"