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

[REBOL] Re: 'Subtract vs '-

From: hallvard:ystad:oops-as:no at: 6-Jul-2004 13:36

Yes, thanks, Arie, but there still is this:
>> a: 20.20.20
== 20.20.20
>> b: 10.10.10
== 10.10.10
>> 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_ '-... HY Dixit Arie van Wingerden (14.24 06.07.2004):