Mindaugas Kavaliauskas wrote:
Here is a sample code, how I copy data.dbf to MEMIO for a much faster report generation using memory file instead of (possibly remote) file. If you change "data.dbf" to "net:data.dbf" you'll have a function to NETIO file to MEMIO file.
I briefly looked to see if I thought I could write something for myself. Your code demonstrates interesting possibilities.
If your next question is about, why IO API is not directly accessible via Harbour level functions, the answer is: because IO API functionality is not as wide as all Harbour level functions. So, many Harbour functions could not be redirected via IO API.
IO API can't be far from that goal if all file operations required to handle an RDD are implemented. I guess tell, seek, locking, directory manipulation and status (eof) at least are missing.
Thank you for the information. Regards Alex _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour