Hi Ted,

TS> But why is the text that is entered into one text field automatically
TS> propagated to all of the other empty fields in every record without
TS> explicitly specifying it

Because of this line:

    loop 2 [append record ""]

If you change it to

    loop 2 [append record copy ""]       ; << note the added COPY

you should get the expected result.

When you tell REBOL to use "" each time, it uses the *same* string for
all of them, not individual copies of an empty string. When you change
one, they all changed because they're all pointing to the same place
in memory where that one string lives, which they are all referring to.

-- Gregg

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to