* using dec pascal
@ 1994-05-26 7:47 Lau Mei Lan
1994-05-26 16:06 ` John R. Reagan
0 siblings, 1 reply; 2+ messages in thread
From: Lau Mei Lan @ 1994-05-26 7:47 UTC (permalink / raw)
Hi,
I need some help running my pascal program. My program works on the pc
version but when I use the dec version.....
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.
If anyone out there can help me solve this problem, please write to
fbalauml@leonis.nus.sg
Thanks
Marylyn
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: using dec pascal
1994-05-26 7:47 using dec pascal Lau Mei Lan
@ 1994-05-26 16:06 ` John R. Reagan
0 siblings, 0 replies; 2+ messages in thread
From: John R. Reagan @ 1994-05-26 16:06 UTC (permalink / raw)
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.
---
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-05-26 16:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-26 7:47 using dec pascal Lau Mei Lan
1994-05-26 16:06 ` John R. Reagan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox