- Code: Select all Expand view
- #include "FiveWin.ch"
function Main()
local o := Test()
o:nData = 1234
SetValue( o, 4321 )
? o:nData
return nil
CLASS Test
DATA nData
ENDCLASS
#pragma BEGINDUMP
#include <hbapicls.h>
HB_FUNC( SETVALUE )
{
hb_objSendMsg( hb_param( 1, HB_IT_OBJECT ), "_NDATA", 1, hb_param( 2, HB_IT_ANY ) );
}
#pragma ENDDUMP