<HTML><FONT FACE=arial,helvetica><FONT SIZE=2 FAMILY="SANSSERIF" FACE="Arial" LANG="0">In a message dated 2/18/02 4:36:58 PM Central Standard Time, undo@cloud9.net writes:<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">repeat for each line i in temp<BR>
add 1 to tNum<BR>
--put tNum<BR>
put cr & i after temp1<BR>
put "-" into first item of line tNum of temp1<BR>
put "-un-" into item 2 of line tNum of temp1<BR>
put 0 into last item of line tNum of temp1<BR>
put 0 into item -2 of line tNum of temp1<BR>
put 0 into item -3 of line tNum of temp1<BR>
put 0 into item -4 of line tNum of temp1<BR>
put 0 into item -5 of line tNum of temp1<BR>
end repeat</BLOCKQUOTE><BR>
<BR>
How about the following:<BR>
<BR>
set the itemDelimiter to "|"<BR>
put 0 into tNum<BR>
repeat for each line i in temp<BR>
add 1 to tNum<BR>
put "-|-un-|" & item 3 to (the number of items in i - 6) of i & "|0|0|0|0|0" into line tNum of temp1<BR>
end repeat<BR>
<BR>
<BR>
Regards,<BR>
<BR>
Philip Chumbley</FONT></HTML>