How do create a text file, update text file and close text file in Easy Code ?

Started by etow, March 01, 2008, 01:51:46 AM

Previous topic - Next topic

etow

Hi

How do you create a text file, update and save a text file, and close a text file in Easy Code Visual projects?

Thanks

Ramon Sala

Use the OpenTextFile method which opens o creates a file and returns an open "handle" to the specified file in the Eax register. With the open "handle", use the ReadTextFile method for reading, or the WritTextFile method for writing (all of these methods are explained in the Easy Code help file). When you no longer need the file, close the returned "handle" by calling the CloseHandle API function.

Ramon
Greetings from Catalonia