script puzzle
PEChumbley at aol.com
PEChumbley at aol.com
Mon Feb 18 20:22:00 EST 2002
In a message dated 2/18/02 4:36:58 PM Central Standard Time, undo at cloud9.net
writes:
> repeat for each line i in temp
> add 1 to tNum
> --put tNum
> put cr & i after temp1
> put "-" into first item of line tNum of temp1
> put "-un-" into item 2 of line tNum of temp1
> put 0 into last item of line tNum of temp1
> put 0 into item -2 of line tNum of temp1
> put 0 into item -3 of line tNum of temp1
> put 0 into item -4 of line tNum of temp1
> put 0 into item -5 of line tNum of temp1
> end repeat
How about the following:
set the itemDelimiter to "|"
put 0 into tNum
repeat for each line i in temp
add 1 to tNum
put "-|-un-|" & item 3 to (the number of items in i - 6) of i &
"|0|0|0|0|0" into line tNum of temp1
end repeat
Regards,
Philip Chumbley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.runrev.com/pipermail/metacard/attachments/20020218/e6774f31/attachment.htm
More information about the metacard
mailing list