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
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
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
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
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
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 []
**
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
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