From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7efa63e34aa1eba9 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-05-26 13:07:20 PST Path: bga.com!news.sprintlink.net!hookup!news.moneng.mei.com!howland.reston.ans.net!usc!nic-nac.CSU.net!charnel.ecst.csuchico.edu!olivea!decwrl!pa.dec.com!jac.zko.dec.com!hiyall.enet.dec.com!reagan From: reagan@hiyall.enet.dec.com (John R. Reagan) Newsgroups: comp.sys.dec Subject: Re: using dec pascal Date: 26 MAY 94 12:06:49 Organization: Digital Equipment Corporation Message-ID: <2s2hj1$fbt@jac.zko.dec.com> References: <2s1k7d$mf0@nuscc.nus.sg> NNTP-Posting-Host: HIYALL In article <2s1k7d$mf0@nuscc.nus.sg>, fbalauml@leonis.nus.sg (Lau Mei Lan) writes... >I can't read my input file. When I write > 'Reset(data)' >I get the error message 'can't read an internal unopened file' >So I added the command 'Open(data)' followed by the reset command. >My whole data file was erased. What did the OPEN statement look like? You should have said "open(data,'filename',history:=old);". Alternatively, you can place the filename on the RESET statement. For example, "reset(data,'filename');" --- John Reagan The Languages Group Digital Equipment Corporation reagan@hiyall.enet.dec.com Disclaimer: The opinions and statements expressed by me are not necessarily those of Digital Equipment Corporation. ---