well, i just didn't read anyone explicating it like that, and maybe it's
the teacher in me, or maybe i like this list best when it's educational
or theoretical like that, and not just people writing code for each
other. i knew *you* knew why you were iterating backwards, but maybe
there are some lurkers for whom my comment was helpful. no offense intended.
--bhakti
Colin Holgate wrote:
>
> >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
>
> 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!]
--
R. Bhakti Klein
Educational Software R & D
http://www.DLWorkshop.net
��
Baritone, unaffiliated but open to suggestions...
���
"On Earth, you can only do little things;
but you can do them with a lot of Love."
-- Mother Theresa
[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!]