Posted: Sat Jun 06, 2009 11:58 am Post subject: Create the Append command a new file if it not exists?
Hello
I want write every 5 minuts data to a file in a sd card
the file name is composed of xxxxxxxx.xx
pcb day month .year - like this 00020606.09
Open Logfile$ For Append As #3
Print #3 , "Hello"
Flush #3
Close #3
Last_logfile$ = Logfile$ 'save the filname
What can i make that next day it create a new file to add data again
Every day a new file, create the Append comand automatic a new file if it not exists?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum