<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have a number of repeat loops in my software
which I would love to speed up using the "repeat for each" technique but I
don't want to start with the first line. Instead, I want to start based on
which line the user selects in a fld. A typical example of what I'm
currently doing follows:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> put the SelectedText of fld "Scene List"
into CurScene<BR> put lineoffset(CurScene&return,SceneFile) into
q<BR> repeat with q2 = q+1 to the number of lines in
SceneFile</FONT></DIV>
<DIV><FONT face=Arial size=2> do
stuff</FONT></DIV>
<DIV><FONT face=Arial size=2> end repeat</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Any suggestions?</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Rich Mooney<BR>Payne Sparkman Mfg.<BR><A
href="mailto:shop@paynesparkman.com">shop@paynesparkman.com</A></FONT></DIV></BODY></HTML>