Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!sdcsvax!net1!graifer From: graifer@net1.UUCP Newsgroups: comp.sys.mac Subject: Re: HyperCard file reading test Message-ID: <3768@sdcsvax.UCSD.EDU> Date: Tue, 1-Sep-87 02:28:36 EDT Article-I.D.: sdcsvax.3768 Posted: Tue Sep 1 02:28:36 1987 Date-Received: Wed, 2-Sep-87 06:42:13 EDT References: <100@f.gp.cs.cmu.edu> Sender: nobody@sdcsvax.UCSD.EDU Reply-To: graifer@net1.UUCP (Dan Graifer) Distribution: na Organization: UCSD Office of Academic Computing Lines: 20 Keywords: How NOT to read files with HyperCard! I am having some trouble with file reading in Hypertext. I have a text file which several editors and the finder all agree contains >10K of text. But no matter how I read it, I get nothing! on mouseUp open file "Test Text" read from file "Test Text" until return put size of it into message close file "Test Text" end mouseUp this rule always gives a 0 result, even if I change the "until return" to "for 100". I've made sure the correct directory is in my home stack documents card, and if I take this out, I get a getfile dialog asking for the file. So it's isn't that it cannot find the file. This is under 3.2/5.3 Any ideas? Dan Graifer graifer@net1.UCSD.EDU Disclaimer: Nobody ever listens to me anyways; Why should they start now?