How can I use the File.Exists(filename) statement of VB.Net to Visual Cobol?
Page 1 / 1
How can I use the File.Exists(filename) statement of VB.Net to Visual Cobol?
*> Test if File exists
declare TestFile as string.
set TestFile to "c:\\temp\\testtext.txt"
if type System.IO.File::Exists(TestFile)
display "'" & TestFile & "'" & " exists"
else
display "'" & TestFile & "'" & " does not exists"
end-if.
How can I use the File.Exists(filename) statement of VB.Net to Visual Cobol?
Thanx
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.