program log
Posted: December 15th, 2019, 11:12 am
When you execute a dataentry program it writes some information in a file with the same name as the program plus the .lst extension, by default.
As far as I could see, every time the program is executed the information is appended to the file.
Some questions:
1. Is there a way to clean this file, besides deleting it by hand? I tried to filedelete(xxx.lst) inside the program but it does not do the job.
2. Is there a way to define this file with a different name?
3. In a dataentry program, is there a way to write a message into this file, as an errormsg but directed to this file.
And lastly:
If I want a generic program with no input file and no form, that is, a program to be executed with no inputs at all, what should I use? Presently I´m using a dataentry program with a single variable in the dictionary.
Best
As far as I could see, every time the program is executed the information is appended to the file.
Some questions:
1. Is there a way to clean this file, besides deleting it by hand? I tried to filedelete(xxx.lst) inside the program but it does not do the job.
2. Is there a way to define this file with a different name?
3. In a dataentry program, is there a way to write a message into this file, as an errormsg but directed to this file.
And lastly:
If I want a generic program with no input file and no form, that is, a program to be executed with no inputs at all, what should I use? Presently I´m using a dataentry program with a single variable in the dictionary.
Best