What if I want to append a dynamically created word with a value that
belongs to a word the representation of which must also be dynamically
created in the script?
Assume an earlier script created the following word values:
lineword1: {hello}
lineword2: {good morning}
lineword3: {good day}
Now I want to append them in order to the word "messagebuilder."
The value of "count" is the total number of "lineword" word values with a
numeral appendage.
How can I accomplish what lies within the parenthesis?
for build 1 count 1 [
append messagebuilder (with the value of a dynamically created word)
]
Thanks.
-Ryan
> If I understand right, you want to dynamically create words and assign a
> (changing) value to them. If you want to append, just replace the "set"
> (below) with "append".
>
> foreach line page [
> count: count + 1
> set to-word rejoin ["linewords" count] line
> ]