home *** CD-ROM | disk | FTP | other *** search
- on fixstraplines
- set tmp to the text of field "makersstraplines"
- set joe to EMPTY
- set the itemDelimiter to "-"
- set num to the number of lines in tmp
- repeat with i = 1 to num
- set mk to item 1 of line i of tmp
- set ff to the number of items in line i of tmp
- set tmpline to mk & "," & item 2 to ff of line i of tmp
- put tmpline into line i of tmp
- if value(mk) then
- put line i of tmp into line value(mk) of joe
- end if
- end repeat
- set the itemDelimiter to ","
- put the number of lines in joe
- put joe
- set the text of field "makersstraplines" to joe
- end
-