Files
harbour-core/harbour/tests/tscmdarg.c
Viktor Szakats 06f0b235dd 2012-10-05 03:01 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfmtcls.prg
    + added TOFIX

  * INSTALL
    + added http://sourceforge.net/projects/mingwbuilds/ as 
      recommended source for mingw builds (both 32 and 64 bit)
      Be aware that these are not QT-compatible (as of now), 
      but they seem to be much faster at compile time.

  * tests/tscmdarg.c
    * formatting
2012-10-05 01:03:41 +00:00

21 lines
667 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 );
}