On Mon, 27 Oct 2008, Przemyslaw Czerpak wrote:

Hi Pritpal,

> Harbour code is correct and the problem is only with this line:
>    #command BEGINMENU [<oMenu>] => WITH OBJECT <oMenu> := MyMenu():New()
> It converts all lines starting with BEGI letters so damage BEGIN SEQUENCE
> and other PP commands which may start with BEGI[NMENU] word. Use #xcommand.

BTW why do you use [<oMenu>]?
It causes that this line translates also simple:
   BEGIN
into:
   WITH OBJECT := MyMenu():New()
what also cannot work as you want.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to