Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does DebugOut not work when running EXE?
Message
De
15/01/2009 13:07:11
 
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:
01374139
Vues:
22
Beautiful.




>>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.
>
>Sure, you could use STRTOFILE() function
>
>#define CRLF CHR(13)+CHR(10)
>STRTOFILE('asdasasd'+CRLF+'asasdasd'+CRLF+'asdasdasd'+CRLF, "YourLogFile.LOG", 1)
>
>Just be sure that your log file wouldn't be bigger than 2GB.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform