[REBOL] Why doesn't this work? Re:(3)

2000-03-07 Thread lmecir
Hi, Eric, you wrote: Thanks for the help. The error message I received seems pretty odd though. .:Eric Explanation: obj: make object! [a: "" b: ""] t: 'obj new-obj: make t [] ** Script Error: Expected one of: word! - not: block!. ** Where: new-obj: make t [] when Make encounters a

[REBOL] Why doesn't this work? Re:(4)

2000-03-07 Thread rex
On Tue, Mar 7, 2000, [EMAIL PROTECTED] wrote: when Make encounters a word 'Obj as its first argument, it thinks that you are asking it to create a word specified by the second argument. It can't create a word from a Block! type value and tries to tell you that. (the problem here is, that the

[REBOL] Why doesn't this work? Re:(2)

2000-03-06 Thread rex
On Sat, Mar 4, 2000, [EMAIL PROTECTED] wrote: Hi, two possibilities, the first looks better: 1) obj: make object! [a: "" b: ""] t: obj new-obj: make t [] 2) obj: make object! [a: "" b: ""] t: 'obj new-obj: make get t [] Thanks for the help. The error message I received seems pretty

[REBOL] Why doesn't this work? Re:

2000-03-04 Thread lmecir
Hi, two possibilities, the first looks better: 1) obj: make object! [a: "" b: ""] t: obj new-obj: make t [] 2) obj: make object! [a: "" b: ""] t: 'obj new-obj: make get t [] Ladislav obj: make object! [a: "" b: ""] t: 'obj new-obj: make t [] When I try it, I get the following

[REBOL] Why doesn't this work? Re:(2)

2000-03-04 Thread Al . Bri
Caution! REBOL currently doesn't deep copy derived objects with embedded objects in them. Your best bet is: obj!: [a: "" b: ""] obj: make object! obj! t!: append copy/deep obj! [c: ""] t: make object! t! Extend: func [Base [block!] Extension [block!]] [ append copy/deep Base Extension

[REBOL] Why doesn't this work? Re:

2000-03-04 Thread VoToNi
In einer eMail vom 04.03.00 06:28:26 (MEZ) Mitteleuropäische Zeit schreibt [EMAIL PROTECTED]: obj: make object! [a: "" b: ""] t: 'obj new-obj: make t [] When I try it, I get the following response: obj: make object! [a: "" b: ""] t: 'obj == obj new-obj: make t [] **

[REBOL] Why doesn't remove work? Re:(2)

2000-02-09 Thread tjohnson
Hello Eric: That did it!! Thanks so much. I have to say that I haven't looked at the list too much, so let me ask you this: I've been programming in C/C++ for years, and have built numerous libraries of reusable code and useful classes. Does rebol have a parallel strategy? Any

[REBOL] Why doesn't remove work? Re:

2000-02-08 Thread KGD03011
Hi Tim, REMOVE removes by default the first element of a series. So when you say remove first fp the first element of FP is a string, and REMOVE will remove the first element of that string. You want to zap the whole string, I take it, so you should do: remove fp Here's a function