Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does DebugOut not work when running EXE?
Message
From
15/01/2009 14:08:39
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01374117
Message ID:
01374153
Views:
20
Adding a method for this to my base form class now.

Thanks all.


>STRTOFILE, of course.
>
>*-- Writes to logfile
>	PROCEDURE WriteToLogfile
>	LPARAMETERS tcString, tlNoTime
>	=STRTOFILE(IIF(m.tlNoTime, "", TTOC(DATETIME()) + " ") + ;
>		M.tcString + CRLF, THIS.cLogFileDir + THIS.cLogFile, 1)
>	ENDPROC
>
>>Rats... Any simple way to add logging to my procedure?
>>
>>open ascii file for appending
>>writeline('asdasasd', 'asasdasd', 'asdasdasd') (multiple places throughout procedure)
>>close file
>>
>>Same exact thing debugout does.
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform