Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fast
Message
 
 
À
05/11/2009 01:41:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Fast
Divers
Thread ID:
01432885
Message ID:
01433308
Vues:
56
>thank you,
>i try as below , at line endtry i get error message Unhandled Structured Exception
> errorno:1
> message:file'log_error.prg'dose not exist
> user value :
>

Sorry, add also - I'm wondering what error did you encounter with this way?
function Log_Error
lparameters toError
local lcError, lcVars

lcError = [Error: ] + transform(m.toError.errorno) + CRLF + ;
	[LineNo: ] + transform(m.toError.lineno) + CRLF +  ;
	[Message: ] + m.toError.message  + CRLF +  ;
	[Procedure: ] + m.toError.procedure + CRLF +  ;
	[Details: ] + m.toError.details  + CRLF + ;
	[StackLevel: ] + transform(m.toError.stacklevel) + ;
	iif(_vfp.startmode = 0, CRLF + [LineContents: ] + m.toError.linecontents, '')


return m.lcError
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform