Hi Eduardo,

It's not bug.

MESSAGE ... METHOD  ... Not Work with Method Inline

you need use

MESSAGE MB1 IS MB   This is the way

Regards,

Andres Reyes


Eduardo Fernandes escribió:
> Hi !
>
> I don't know whether this is a bug or not.
>
> I'm receiving the error "unresolved external symbol _HB_FUN_MYCLASS_MB"
> when I declare a message which appoint to method that uses inline
> statement.
>
> regards,
> Eduardo
>
>
> #include "hbclass.ch"
>
> proc main()
>
> local o := MyClass():New()
>
>  ? o:MA1
>  //? o:MB1
>
> Return
>
> CLASS MYCLASS
>
> DATA a INIT 0
> DATA b INIT 1
>
> METHOD MA()
> METHOD MB()  INLINE ::b
> METHOD NEW
>
> MESSAGE MA1 METHOD MA
> MESSAGE MB1 METHOD MB
>
> ENDCLASS
>
> METHOD NEW() CLASS MYCLASS
> RETURN SELF
>
> METHOD MA() CLASS MYCLASS
> RETURN ::a
>
>
>
>
>       Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
> armazenamento!
> http://br.mail.yahoo.com/
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to