Hi Brian,
that's an interesting condundrum.
I'm guessing that a 'handle' as you refer to it is different to a file path. The file path is generated when the m401 is called
and would therefore present no problem to save the file path text in a register/registers.....but what about a handle?
The only handles I've seen are those that occur when I call mc.SignalGetHandle(...) or similar. The return, presumably the handle itself,
is just a number, and I've always assumed it relates to the location in memory that the data is stored.
I've never thought about an open file having a handle, that is some location in memory that the code related to the data stream to and from
the file. If my understanding is correct: how would you go about saving or otherwise recording that handle?. Is it even possible with the programming
tools within Mach to get the handle? I suppose the last question is the handle constant?. That is to say lets assume the probing routine (which is the program
that called into existance the file handle), does the handle survive the failure of the calling routine or does it get garbage collected imediately?
Craig