home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- set tempList to the text of field "wholeList"
- set tempList1 to EMPTY
- set tempList2 to EMPTY
- set tempList3 to EMPTY
- repeat with n = 1 to the number of lines in tempList
- put item 1 of line n of tempList & RETURN after tempList1
- delete item 1 of line n of tempList
- end repeat
- repeat with n = 1 to the number of lines in tempList
- set tLc to the number of items in line n of tempList
- put item 1 to tLc / 2 of line n of tempList & RETURN after tempList2
- put item (tLc / 2) + 1 to tLc of line n of tempList & RETURN after tempList3
- end repeat
- set the text of field "list1" to tempList1
- set the text of field "list2" to tempList2
- set the text of field "list3" to tempList3
- beep()
- end
-