Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: reagan@hiyall.enet.dec.com (John R. Reagan)
Subject: Re: using dec pascal
Date: 26 MAY 94 12:06:49	[thread overview]
Message-ID: <2s2hj1$fbt@jac.zko.dec.com> (raw)
In-Reply-To: 2s1k7d$mf0@nuscc.nus.sg


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.
---


      reply	other threads:[~1994-05-26 16:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-26  7:47 using dec pascal Lau Mei Lan
1994-05-26 16:06 ` John R. Reagan [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox