Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BOOL Datatype
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00357504
Message ID:
00358106
Views:
16
>Depends on whether your NOT operator is logical or bitwise, hence the different operators for AND (&, &&), OR (|, ||) & NOT (~, !). As TRUE & FALSE are logical results, then I would assume ! had been used for the negation of FALSE. At least in the original of Stroustrup's books on C++, then the result should be 1. But I have seen several (older) C compilers return -1 for TRUE.

In my original post, I mentioned that in QuickBASIC (or just plain ole BASIC), the NOT unary operator returns the bitwise compliment.

>My view is that if you are concerned with the value of TRUE, then you are likely to be doing something dubious. I have occassionally come across code like

It was more of a rhetorical question than anything else. Being a old "bithead" from working in assembler years ago, something like this just naturally aroused my curiousity. Nothing earth shattering or anything like that.

>
>P.S. did you see my query in the chatter section, on how to get auto-quote working, may be that wasn't the right place to send it, but how do you get it to work ?

Hmm, I seem to recall that you mentioned that you clicked the "Auto-Quote" checked box. The question then is, "Did you click the Save button then?"
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform