Thanks for the suggestions Juergen. Paul Newton -----Original Message----- From: ProfoxTech <[email protected]> On Behalf Of [email protected] Sent: 05 August 2019 09:26 To: [email protected] Subject: AW: Get file path and name from file handle
Sent by an external sender ------------------------------ 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 [excessive quoting removed by server] _______________________________________________ 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/mn2pr02mb596718aaddf094e261568ffea1...@mn2pr02mb5967.namprd02.prod.outlook.com ** 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.

