Hio Paul,

Add a collection (or Array) to _screen, with two columns. One for the
filehandle, one for the filename. 
That way you can search for handle or name.

Or, more sophisticated: Create an helperobject for the various F* functions
to work directly with that collection, which would then be part of that
object. That way you could add a GetFileNameFromHandle method and many more.
Added benefit would be an automatic FClose if that object goes south. :)





-----Ursprüngliche Nachricht-----
Von: ProFox <[email protected]> Im Auftrag von Paul Newton
Gesendet: Montag, 5. August 2019 09:48
An: [email protected]
Betreff: RE: Get file path and name from file handle

Hi Juergen

The FCREATE/FOPEN is used in several places throughout the code and I would
need to somehow store and preserve  the open file details.  Being able to
find the file from the file handle would be much more convenient

Paul Newton



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to