Nick Antonaccio napsal(a):
> Can anything be done to make the following definition of 'greater work =20
> properly?
>
> as-lit-word: func ['word [any-word!]] [to lit-word! word]
> greater: as-lit-word >
>
> either (1 greater 100) [print "yes"][print "no"]
>   
As Gabriele pointed out, R2 does not support other words, than the 
"official operators" for infix. But, if you don't mind to use prefix, 
then you can do e.g.:

maggiore?: :greater?
maggiore? 1 2 ; == false
maggiore? 2 1 ; == true

-L

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to