>the key is iterating backwards. if you iterate forward 1 char at a time,
>and you replace one char, the quote, with a multi char string, the
>repeat loop gets mighty confused about where it is. the same thing can
>happen when you loop through a list, and change the list in the loop. do
>it backwards, and the extra characters are added at a point that's after
>the iteration point, so the next iteration of the loop deals with the
>correct char.
>
>-bhakti, being slightly pedantic


I'm confused, were you explaining this to someone? I already iterate 
backwards, for the reasons you said.


-- 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to