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

[REBOL] Re: 'Subtract vs '-

From: lmecir:mbox:vol:cz at: 6-Jul-2004 16:34

Hi Hallvard,
>>>minus: :- >>>minus a b >>> >>> >** Script Error: Cannot use negate on tuple! value >** Near: minus a b > >>>a minus b >>> >>> >** Script Error: Cannot use negate on tuple! value >** Near: minus b > >(But, of course, minus: :subtract solves this.) > >Guess the weird '- behaviour has got to do with '- accepting "strange" syntax, with the first argument _before_ '-.. >
see http://www.fm.vslib.cz/~ladislav/rebol/rep.html#section-21 , where I wrote some of my observations. -L