Enrico Maria Giordano
2015-10-04 22:22:19 UTC
The following sample returns 64 for any number of parameter passed to
TEST() function:
FUNCTION MAIN()
? TEST( 1 )
INKEY( 0 )
RETURN NIL
#pragma BEGINDUMP
#include "windows.h"
#include "hbapi.h"
HB_FUNC( TEST )
{
hb_retnl( hb_pcount() );
}
#pragma ENDDUMP
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
------------------------------------------------------------------------------
TEST() function:
FUNCTION MAIN()
? TEST( 1 )
INKEY( 0 )
RETURN NIL
#pragma BEGINDUMP
#include "windows.h"
#include "hbapi.h"
HB_FUNC( TEST )
{
hb_retnl( hb_pcount() );
}
#pragma ENDDUMP
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
------------------------------------------------------------------------------