Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does DebugOut not work when running EXE?
Message
De
15/01/2009 14:08:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01374117
Message ID:
01374153
Vues:
24
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.
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform