Page 1 of 1

error

Posted: Sun Nov 09, 2008 9:46 am
by patili
Hi everybody when i run my app i have this error and nothing else


Error BASE /1090 Argument error: INT from Errorsys, line :O


any idea?
thanks

Posted: Sun Nov 09, 2008 10:01 am
by Otto
BASE/1090 Argument error: INT

Explanation: The argument to INT() was non-numeric.

Action: Correct the program.

See Also: INT() function

http://www.itlnet.net/Programming/Progr ... 28f42.html


Regards,
Otto

Posted: Sun Nov 09, 2008 10:30 am
by patili
Yes but it come from errosys (fiveh.lib ?)
How can i modify it?
And why an error in errosys

Posted: Sun Nov 09, 2008 2:53 pm
by Otto
Have you tried to insert some msgboxes to the errorsys and to find out where exactly your program errors out?

Regards,
Otto

Posted: Sun Nov 09, 2008 4:42 pm
by Richard Chidiak
Patrick,

Regarde si un fichier error.log a été créé ou à défaut un fichier trace.log

Tu dois avoir une référence à ton erreur dedans (normalement), sinon il ne te reste plus qu'à mettre des msgbox...

Bon courage,

Richard

Posted: Sun Nov 09, 2008 4:47 pm
by patili
How can i edit this errosys? I think it is inside Fiveh.lib

Posted: Sun Nov 09, 2008 5:12 pm
by Otto
Patrick,
link the function:
c:\FWH\source\function\errsysw.prg
to your poject.
Regards,
Otto

Posted: Sun Nov 09, 2008 5:13 pm
by driessen
You can just change the errorsysw.prg which can be found in your FWH-directory.

Then just link errorsysw.prg into your application.

It works very well.

I added a function to the errorsysw.prg which mails the error.log file to me automatically. So I know immediately what goes wrong.

Good luck.

Posted: Sun Nov 09, 2008 5:15 pm
by Otto
Michael,
could you please post your changes.
Thanks in advance
Otto

Posted: Sun Nov 09, 2008 6:50 pm
by patili
Hi i've libnk errsysw.prg and it is the same thing i have the same error

Posted: Sun Nov 09, 2008 7:02 pm
by patili
And how can i have the error.log file?

Posted: Sun Nov 09, 2008 8:13 pm
by patili
Hi i am very proud of me
I obtain the "error.log" by changing the errsysw.prg
It is very usefull
Thanks everybody

Posted: Mon Nov 10, 2008 4:48 am
by hag
driessen:

> added a function to the errorsysw.prg which mails the error.log file to >me automatically. So I know immediately what goes wrong.

Could you post the above. I'd like to try it.

Thanks