jimfog Posted August 8, 2013 Share Posted August 8, 2013 So far, when using if/else statements I have never used endif without this being the source of any problems. Do you think that endif has any usefulness at all? Link to comment Share on other sites More sharing options...
Ingolme Posted August 8, 2013 Share Posted August 8, 2013 If you're using a particular syntax, it's necessary: if ( condition ): // Multiple // lines // of // codeendif; Link to comment Share on other sites More sharing options...
jimfog Posted August 9, 2013 Author Share Posted August 9, 2013 (edited) thanks Edited August 9, 2013 by jimfog Link to comment Share on other sites More sharing options...
Ingolme Posted August 9, 2013 Share Posted August 9, 2013 endif; isn't necessary and will cause errors if you use the ordinary if/else syntax. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now