Page 1 of 1

Compilation error override method End

Posted: Mon May 05, 2008 7:54 pm
by yury
hi everyone,

I need override method :end() in some FWH classes...

Code: Select all

OVERRIDE METHOD End CLASS TDialog  WITH METHOD MyEnd1

OVERRIDE METHOD End CLASS TPrinter WITH METHOD MyEnd2
but this error appears in compilation:

Code: Select all

Error E0030  Syntax error: "parse error at 'METHOD'
Error E0030  Syntax error: "parse error at 'METHOD'
For others methods works fine...

FWH 7.9
xHarbour 99.71


thanks

Posted: Mon May 05, 2008 9:25 pm
by Rossine
Hello Yuri,

Try This:

Code: Select all

OVERRIDE METHOD End IN CLASS TDialog  WITH MyEnd1 

OVERRIDE METHOD End IN CLASS TPrinter WITH MyEnd2
Regards,

Rossine.

Posted: Tue May 06, 2008 10:30 am
by yury
hello Rossine,

great, work's fine !!!

thanks

regards

(um abraço pra vc, obrigado mais uma vez)