Sorry, I didn't finish the line:

Can someone please explain why this sends the movie into an infinite loop:

member(1).text = RETURN
repeat while member(1).char[1] = RETURN
   delete member(1).char[1]
end repeat

In other words, why char[1] is never deleted?

What I'm really after is trimming CR(LF) off a string, and it works fine 
unless the entire string is one CR.

Thanks!

Slava


[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