filexist.prg a test for hb_file()
This commit is contained in:
16
harbour/tests/working/filexist.prg
Normal file
16
harbour/tests/working/filexist.prg
Normal file
@@ -0,0 +1,16 @@
|
||||
// test of hb_file function
|
||||
function main
|
||||
|
||||
if hb_file("filexist.prg") == .t.
|
||||
qout("file exist test works")
|
||||
else
|
||||
qout("file exist test fails")
|
||||
endif
|
||||
|
||||
if hb_file("filxxist.prg") == .f.
|
||||
qout("file exist test works")
|
||||
else
|
||||
qout("file exist test fails")
|
||||
endif
|
||||
|
||||
return nil
|
||||
Reference in New Issue
Block a user