[comp.sys.mac.hypercard] further explanation of problem with "open"

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

I received some response about the problem which I had posted earlier.
 However, I think I didn't explain my problem explicitly the first time.  
I have given a more detailed explanation of the problem.  Any hints
or suggestions will be very helpful.
 
The way I have organized the stack is as follows:
Before calling the FORTRAN program, I write certain global variables and
relevant path names to a file with a generic name and in a standard 
location e.g. "HD45:HYPERDEV:temp.dat".  Thus after calling the FORTRAN
program, I return to hypercard and read the globals and the path names
from this data file. I have tested the stack, and at this stage, the path
names and globals are succesfully read from the data file.  
At this stage I know the exact location of the output file created
by the FORTRAN program.  Then I use the open command.
When I use "open", Hypercard behaves as if it doesn't "see"
the output file created by the FORTRAN program.  It then creates another
file with exactly the same name in the same directory/folder! When I quit
and go to the finder, I find two files with exactly the same names in the
same folder.  Although I have never done any Mac system programming, I
think this behavior is uncanny.  

I am planning to use some external commands as an alternative. I would
be grateful if someone could help me in solving this problem.

Nilanjan
mecegy@jane.uh.edu