When I run the following script, I get the following error:

** Script Error: Out of range or past end.
** Where: firstword: form first words

The script runs fine for several loops then quits on this error.  What may be 
happening?


REBOL []

in: read %messages.txt
lines: make block! 10000
parse in [any [thru newline copy text to newline (append lines text)]]

out: make string! 100000
append out {<HTML><HEAD></HEAD><BODY bgcolor="#FF9999">}

forall lines [
        fields: form first lines

        words: []
        clear words
        foreach word parse fields ":" [append words word]

        firstword: form first words
]

Reply via email to