Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Runtime STRTOFILE replace for DEBUGOUT
Message
De
21/01/2009 11:13:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01375897
Message ID:
01375903
Vues:
7
>>I'd swear somebody posted a nice strtofile function to use at runtime for debugout type info and I clipped it but can't find it.
>>
>>I can write it but I seem to remember there was something in that one I wanted to remember to do - anybody remember or can find the strtofile() function I'm talking about?
>
>See Does DebugOut not work when running EXE? Thread #1374117

Wow, you're fast and yes, it was your routine (and it was the tlNotime param I wanted to remember)
*-- Writes to logfile
	PROCEDURE WriteToLogfile
	LPARAMETERS tcString, tlNoTime
	=STRTOFILE(IIF(m.tlNoTime, "", TTOC(DATETIME()) + " ") + ;
		M.tcString + CRLF, THIS.cLogFileDir + THIS.cLogFile, 1)
	ENDPROC
Thanks again


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform