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!
db/:idx
db/idx
, you are selecting value next to idx
in db
: db: [1 2 3 idx 123] db/idx ; == 123
text-list linen 250x350 font-size 16 data rn/1 [
bilgi/text: pick face/data face/selected
]
face/selected
returns in the index number.
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 []