Files
harbour-core/harbour/tests/tscmdarg.c
Viktor Szakats 5428d17e70 2012-07-18 16:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* tests/clsnv.prg
  * tests/cursrtst.prg
  * tests/foreach2.prg
  * tests/testpp.prg
  * tests/transtst.prg
  * tests/tscmdarg.c
    * more cleanups
2012-07-18 14:27:05 +00:00

21 lines
659 B
C

/*
* $Id$
*/
#include "hbapi.h"
void hb_cmdargTEST( void )
{
char * pszArg;
printf("INFO: %i\n", hb_cmdargCheck( "INFO" ) );
printf(" F: %s\n", pszArg = hb_cmdargString( "F" ) ); if( pszArg ) hb_xfree( pszArg );
printf(" Fn: %i\n", hb_cmdargNum( "F" ) );
printf("TEMP: %s\n", pszArg = hb_cmdargString( "TEMP" ) ); if( pszArg ) hb_xfree( pszArg );
printf("INFO: %i\n", hb_cmdargCheck( "INFO" ) );
printf(" F: %s\n", pszArg = hb_cmdargString( "F" ) ); if( pszArg ) hb_xfree( pszArg );
printf(" Fn: %i\n", hb_cmdargNum( "F" ) );
printf("TEMP: %s\n", pszArg = hb_cmdargString( "TEMP" ) ); if( pszArg ) hb_xfree( pszArg );
}