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 <filenames.in", so I really must type in each filename by hand.
This error is not reproducable. I have written some programs which can read files using Berend's "Assign", but not write. And vice versa. Currently, both does not work.
What shall I do ???
Peter
-------------------------------------------------------------------------------- Dipl. Phys. Peter Gerwinski Fachbereich Physik Universitaet-GH Essen Phone: +49-201-183-2763 D-45117 Essen Fax: +49-201-183-2120 Germany e-mail: pege@mail.theo-phys.uni-essen.de --------------------------------------------------------------------------------