err Log in a txt file
Posted on 1998-11-29
I need A function so that if I call the function and it records/post the string to the last entry of the textfile specified in the pathname.
Private Function(PathName as string,ErrText as string)
if the function were called 4 times, A further example
the resulting file err.txt would look like in c:/err/
the resulting file other.txt would look like in c:/dd/
if file exists in dir it would append the text
if file is not found in dir then a new one must be created.
The file should be closed and saved after.
I need the complete working code for this Function