Path: utzoo!utgpu!watmath!clyde!att!pacbell!hoptoad!fidogate!f555.n125.z1.FIDONET.ORG!Scot.Kamins From: Scot.Kamins@f555.n125.z1.FIDONET.ORG (Scot Kamins) Newsgroups: comp.sys.mac.hypercard Subject: re: Checking file existence from within Hypercard Message-ID: <477.239677C9@fidogate.FIDONET.ORG> Date: 2 Dec 88 05:50:40 GMT Sender: ufgate@fidogate.FIDONET.ORG (newsout1.22) Organization: FidoNet node 1:125/555 - KUMR, San Francisco CA Lines: 17 This script will tell you what you want to know. Pass it the file name you want to check, and you're on your way: on checkFile myFile open file myFile read from file myFile for 1000 -- Well into the file close file myFile if it is empty then put myFile & " is empty." else put myFile & " has live data!" end checkFile OK? -- Scot Kamins - via FidoNet node 1:125/406 UUCP: ...!sun!hoptoad!fidogate!555!Scot.Kamins ARPA: Scot.Kamins@f555.n125.z1.FIDONET.ORG