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

[REBOL] Re: Hack

From: rotenca:telvia:it at: 30-Dec-2001 14:38

Hi, Sunanda
> In case you didn't pick it up in my earlier email, the Sept 2000 (the
latest, At the end the mail arrived to me, with a great delay.
> I think) Rebol/Core User Guide says of the Error/Where field > > "The where field is reserved" > > This is the only place I can find in that manual where something is > specifically designated reserved.
This leaves us only with a 5 words copy of source in Near.
> It's not immediately useful to me as I tend to have objects "two deep". I > could use it at the first level: > > make-ob-name 'f [a: 1 b: 2] > > but to base an object on that, I still need to write > > g: make f [c: 3] g/self-name: 'g
make-ob-name: func [word [word!] type [object! datatype!] spec [block!]][ set word make type compose [self-name: (bind reduce [to-lit-word word] word) (spec)] ] But this is only an example. There are many methods to works with these kind of things. You could keep also an history of names of derived object in self-name, using a block instead of a word. --- Ciao Romano