Page 1 of 1

openFile closes after quit is safe to use?

Posted: Tue Feb 02, 2016 2:58 pm
by Bugala
As I am thinking of making this debuglog.txt, which would print to a file everytime it jumps to new function, i am checking that using this is safe.

It mentions in manual that it closes open files automatically after a quit. So this does mean that I can open a "debuglog.txt" file, and then write name of function to this file each time it jumps to a new function during execution, and when it then crashes at some point (supposing i encounter a bug), the file would then safely close itself, and i can use notepad to open that file and read its contents?

Re: openFile closes after quit is safe to use?

Posted: Tue Feb 02, 2016 5:25 pm
by airsoftsoftwair
Yes, it is.