Files

Mon, 27 Nov 1995 17:23:41 +0100 (MEZ)


Hello!

Now I also have problems with the binding of external files to
Pascal file variables ...

I tried to use Extended Pascal "binding" to assign a file variable
to an external -- existing -- file.  I just copied the "Assign" pro-
cedure by Berend as published in borland2ep.doc.  It does not always
work: I often get a runtime error saying that the file did not exist.
(But it exists -- I can edit it, etc..)  The only solution I could
figure out:  Mention each file in the program's header, forget about
an "Assign" procedure, just reset it.  Then you are asked for the
external file name.  Type it in -- voila.  I defined a semi-dummy
"Assign" procedure which prompts "please type in )-: myfile135.dat".
It could not be done with "myexecutable Peter Gerwinski (pege@rs1.Theo-Phys.Uni-Essen.DE)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es