home *** CD-ROM | disk | FTP | other *** search
- on readText buffer
- set readObject to FileIO(mnew, "?read", "tcf")
- set controlFile to readObject(mReadFile)
- readObject(mdispose)
- repeat with i = 1 to the number of lines in controlFile - 1
- set readObject to FileIO(mnew, "read", item 1 of line i of controlFile)
- set the text of field (buffer + i) to readObject(mReadFile)
- set the name of cast (buffer + i) to item 1 of line i of controlFile
- readObject(mdispose)
- put item 1 of line i of controlFile
- end repeat
- end
-