« Return to Thread: 'not' as atomic symbol

'not' as atomic symbol

by randy sharp :: Rate this Message:

Reply to Author | View in Thread

How do I disable the predicate interpretation of 'not'? I have an NL
application which involves the word 'not', but it seems to be trying to
interpret the word as a predicate rather than as an atomic symbol.

In SICStus, this wasn't a problem. I used the following statement to disable
the prolog interpretation of the following words:

:- op(0,fx,[(wait),(public),(mod),(dynamic)].

I thought the same might apply here:

:- op(0,fx,[(not)].

but this didn't work either. Any advice?
Thanks.

Randy



------------
For further info, please visit http://www.swi-prolog.org/

To unsubscribe, send a plaintext mail with "unsubscribe prolog <e-mail>"
in its body to majordomo@...

 « Return to Thread: 'not' as atomic symbol

LightInTheBox - Buy quality products at wholesale price