From Newsgroup: comp.lang.xharbour
Hi,
I just found a strange behavior in METHOD INLINE clause. This is a sample:
#include "Hbclass.ch"
FUNCTION MAIN()
RETURN NIL
CLASS Test
METHOD Test() INLINE 1
ENDCLASS
The PPO file shows this for Harbour:
_HB_MEMBER Test(); oClass:AddInline( "Test", {|Self | ( ( Self ) ), 1 }, nScope + iif( .F., 8, 0 ) + iif( .F., 256, 0 ) + iif( .F., 2048, 0 ) )
And this other (longer) for xHarbour:
_HB_MEMBER Test(); IIF( .F., s_oClass:ModInline( "Test", {|Self | Self,
1 }, nScope + IIF( .F., 16, 0 ) + IIF( .F., 1024, 0 ), .F. ), s_oClass:AddInline( "Test", {|Self | Self, 1 }, nScope + IIF( .F., 16, 0
) + IIF( .F., 1024, 0 ), .F. ) )
Is it normal?
--
Enrico Maria Giordano
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
--- Synchronet 3.21d-Linux NewsLink 1.2