× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Buzz Fenner wrote:
4. NOT Symbolic Operator (Buzz Fenner)

Having fits trying to code a clle member, because the normal symbolic
operator for ?NOT? doesn?t seem to be available on the keyboard. Using the
shift-6 key is supposed to work with multinational character sets; the
member compiles but fails to execute because of that character. Is there a
keyboard mapping function available, or am I just missing the correct key?

Buzz:

As Booth mentioned, the way to do this is to use *NOT rather than the symbol. The symbol is a variant character that can be changed (without you realizing it) by editing the source member on terminals with different character sets or on remote systems such as PCs.

Code this way for example:

if ( *not &myvar *and ( &sales *gt &taxes )) then( do )

Not the best example nor was it copy/pasted from code, but it should make sense.

Use *NOT, *AND, *OR, *GT, *LT, *GE, *LE and *EQ. Avoid the special characters and you'll avoid potential future problems.

Tom Liotta


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.