Files
harbour-core/contrib/hbnf/tests/floptst.prg
vszakats 9687850865 2013-03-16 02:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* (all files)
    * stripped svn header
    * minor cleanups
    ; use following command to find out the history of files:
       git log
       git log --follow
       git blame
       git annotate
2013-03-16 02:11:42 +01:00

16 lines
314 B
Plaintext

#require "hbnf"
PROCEDURE Main( cArg1 )
LOCAL nErrCode
IF HB_ISSTRING( cArg1 )
nErrCode := ft_FlopTst( Asc( Upper( cArg1 ) ) - Asc( "A" ) )
? "Return Code is " + hb_ntos( nErrCode )
ELSE
? "Usage: floptst cDrive" + hb_eol() + " where cDrive is 'A' or 'B' etc..."
ENDIF
RETURN