Jump to content
Sign in to follow this  
dakota

if help

Recommended Posts

dakota

I was looking at the help file and I still can't get this, how do i make an if statment that cheacks to see if 1.jpg and 2.jpg exist??

Share this post


Link to post
Share on other sites
cppman

If FileExists("1.jpg") then ; Function checks if 1.jpg exists.. if it does then
   MsgBox(0, "Exists", "The File Exists") ;Show a message box.
else ;Else if it does'nt exist then
  MsgBox(0, "Does'nt", "THe File Does'nt Exist") ;Show a message box.
EndIf ;end the if statement.

Edited by CHRIS95219

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.