home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 17
/
CD_ASCQ_17_101194.iso
/
vrac
/
chkarg.zip
/
TEST.PRG
< prev
Wrap
Text File
|
1994-05-23
|
485b
|
15 lines
// test.prg
#include "checkarg.ch"
// Generates the following run-time error
// because function expects numeric.
DoIt("Now")
function DoIt(nHowMuch)
return nil
// ┌────────────────────────────────────────────┐
// │C is an invalid type for parameter nHowMuch │
// │ of module DoIt, called from TEST/5. │
// │ │
// │ Quit Skip Skip Module SkipAll │
// └────────────────────────────────────────────┘