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

[REBOL] Re: TO vs MAKE

From: brett:codeconscious at: 25-Jun-2003 9:35

> Has anyone investigated what the differences are between TO and MAKE? > The way they're worded, the only difference seems to be that TO > converts (the spec?) before constructing the new value, but does > anyone know of practical differences in behavior?
Not in detail. But this is significant:
>> probe to context [a: 1] [b: 3]
** Script Error: Cannot use to on object! value ** Where: do-boot ** Near: probe to context [a: 1] [b: 3]
>> probe make context [a: 1] [b: 3]
make object! [ a: 1 b: 3 ] Regards, Brett.