[comp.sys.mac.hypercard] problem with the "open" command

mecegy@jane.uh.edu (01/21/90)

I have encountered the following problem in one of my stacks.

I run a FORTRAN program from within the stack.  The program creates
an output file (say it is called test.out).  On returning to the
stack, I attempt to read the output file.  However the open file
command creates another file in the same directory with exactly the
same name i.e. test.out.  On quitting Hypercard and reopening the
stack, the output file is read without any problems.  

Some other commands do not work in a similar situation.  e.g. the
following script leaves the global variable PathName unaffected:
   global Pathname
   put "Sele.out" after Pathname 

This strange behavior only occurs after the FORTRAN program is run
and control is returned to the Hypercard stack.   

I will be extremely grateful if anyone can explain this behavior
and help me to rectify it.  

Thanks

Nilanjan
mecegy@jane.uh.edu