Page 3 of 6
Re: On error...
Posted: Fri Jul 20, 2012 7:52 pm
by esgici
rathinagiri wrote:That's great!
Which one
Only a joke
By the way,
Esgici wrote:Please don't forget keeping your handler clean (error free); otherwise (as I noticed in top comment of .prg), result may be a real nightmare !
Made some changes for preventing this "nightmare"; please test deeply and don't hesitate to criticize
Regards
--
Esgici
- SErrHand.zip
- Simple error handle sample - 2; .prg file
- (1.7 KiB) Downloaded 320 times
Re: On error...
Posted: Fri Jul 27, 2012 8:27 am
by Dilip Patel
Hi Rati,
Attached is a block of code which i used with clipper.
The code will have to be modified for HMG.
Hope it will be of use to you.
The code has been partially modified and can be used - see further down the blogg.
The attached file is deleted.
Re: On error...
Posted: Fri Jul 27, 2012 8:35 am
by esgici
Dilip Patel wrote:Hi Rati,
Attached is a block of code which i used with clipper.
The code will have to be modified for HMG.
Hope it will be of use to you.
Hi Dilip
Thanks to participation
Perhaps you forgot to attach your code
Regards
--
Esgici
Re: On error...
Posted: Fri Jul 27, 2012 11:20 am
by esgici
Hi Dilip
This .prg require two header files
SPECIAL.CH
LOWLEVEL.CH
Regards
--
Esgici
Re: On error...
Posted: Fri Jul 27, 2012 1:07 pm
by esgici
esgici wrote:
This .prg require two header files

...
... and probably this isn't a Clipper .prg; may be Fox ?
... and require also a "main/host" prg ( KSMENU ?) that call / use this one
Regards
--
Esgici
Re: On error...
Posted: Fri Jul 27, 2012 3:17 pm
by Dilip Patel
Hi Esgici,
Please find attached the CH files.
This errorsys program is a clipper routine. It was taken from a book written for clipper by Steven Straley. The KSMMENU reference was for the main menu of a clipper program. it was not necessary to reference the errorsys routine in a program. The errorsys program was compiled using clipper and the object file errorsys.obj was linked with any main clipper program.
Re: On error...
Posted: Fri Jul 27, 2012 4:37 pm
by esgici
OK Dilip
I'm continuing to work.
BTW, what about copyright issue of this .prg ?
Regards.
--
Esgici
Re: On error...
Posted: Fri Jul 27, 2012 5:33 pm
by Dilip Patel
Hi Esgici,
This program taken from a book which was purchased legally. All samples in that book were available to the purchaser. I have somewhat got it to work partially. At the moment having a problem with the last function which saves the memory variables to a memory.mem file and therafter it processes the memory file. The program seems to have a recursion problem which i cannot solve.
Regards,
Dilip
Re: On error...
Posted: Fri Jul 27, 2012 6:15 pm
by esgici
OK Dilip
I'm continuing to work.
Regards
--
Esgici
Re: On error...
Posted: Fri Jul 27, 2012 6:44 pm
by Dilip Patel
Attached find test results of the modified error routine for HMG. I have been communicating with Esgici regarding the program. I have got it to work partially. For the memory variables to be also listed in the error file, some one with more knowledge than myself with have to solve it. I am having a problem with 'recursion' in that routine. That part of the program has been commented out. Also the screen saving part will also have to be modified.
Regards,
Dilip