I am making a small logger for a bigger program, and am running into problems.
The biggest problem is that it doesn't want to save to the file.
I can get it to create the directories and the files, but it will not save the data to the file. I'm wanting to be able to save the user's input {such as the entire keyboard input (entry$()) , so the program can exit if someone tries to tamper with it}
my source is something like this:
a$= entry$()
do
open to write 1, log.txt
write string 1, a$
close file 1
loop
I might use an array and save the array to the file, that the program could call back later, maby that'd work.
BTW, If it helps, I use Darkbasic Enhanced, V. 1.12
<img src="http://images.killermovies.com/forums/user_sigs/customsig_44841_1S.gif">
'Sufficit huic tumulus, cui non suffecerit orbis.'~~Alexander the Great's Epitaph