If you need help, try to find the answer through the following path: `Help` in the console ⇒ [Red by Example](https://www.red-by-example.org/) ⇒ [Official Red Docs](https://github.com/red/docs/blob/master/en/SUMMARY.adoc) ⇒ [Rebol Core Manual](http://www.rebol.com/docs/core23/rebolcore.html ⇒ [Red Wiki](https://github.com/red/red/wiki ⇒ Net search "redlang + your-question" ⇒ Ask us, we are here to help!
text-list linen 250x350 font-size 16 data rn/1 [
bilgi/text: pick face/data face/selected
]
Trying fill block of blocks with data from external source, but final structure have all equal blocks. Skip some copy
command in declaration of variables?
people-template: copy [[name-t: "" phone-t "" mail-t ""]]
db: [Tom 123 qwe@qwe.org Bob 456 asd@asd.com]
people: copy [[]]
index: 1
foreach [name phone mail] db [
append people people-template
people/:index/name-t: name
people/:index/phone-t: phone
people/:index/mail-t: mail
index: index + 1
]
probe people
answer: [[name-t: Bob phone-t: 456 mail-t: asd@asd.com] [name-t: Bob phone-t: 456 mail-t: asd@asd.com]]
people-template: copy [[name-t: "" phone-t: "" mail-t: ""]]
db: [Tom 123 qwe@qwe.org Bob 456 asd@asd.com]
people: copy []
Red[]
people-template: [name-t: "" phone-t "" mail-t ""]
db: [Tom 123 qwe@qwe.org Bob 456 asd@asd.com]
people: []
index: 1
foreach [name phone mail] db [
append/only people copy people-template
people/:index/name-t: name
people/:index/phone-t: phone
people/:index/mail-t: mail
index: index + 1
]
probe people