Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] custom operators !?

From: maximo::meteorstudios::com at: 24-Jul-2003 13:53

I know its been talked about before, but since versions have moved on pretty much since last I saw a thread on this, I'll open a (short?) discussion on it. The question is simple: can we now build our own operators? something like: make-binary-operator "+=" [a [number!] b [number!]][ return (a + b) ] make-unary-operator "++" [a [number!]][ return (a + 1) ]
> value: 5 > value ++ > value += 3
==9 -max ----------- meteor Studios, T.D. ----------- Strong enough for a man, but made for a woman