Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fast
Message
 
 
To
05/11/2009 01:41:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Fast
Miscellaneous
Thread ID:
01432885
Message ID:
01433308
Views:
57
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform