Thank you both for the replies.
I am going to try using SHELL.
Regards,
Vikram Nair
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
Hi,
I am using Gambas 2.21, on Debian Squeeze. I am trying to keep a log of the
things my application does, for instance events like forms opening, errors can
be logged.
I am thinking of using the SHELL with echo command to write to a log file.
For example, using SHELL i would use:
SHELL echo
here is an example i did.
if you like it you can use it.
---
' Gambas class file
PUBLIC hLog AS Stream
PUBLIC sFilename AS String = User.Home / .MyLog.txt
PUBLIC sLogEntry AS String
PUBLIC SUB Form_Open()
hLog = OPEN sFilename FOR APPEND
END
PUBLIC SUB Button1_Click()