Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does DebugOut not work when running EXE?
Message
 
 
To
15/01/2009 12:53:19
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01374117
Message ID:
01374148
Views:
23
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.
>
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform