Jump to content

for if/esle?


choobakka

Recommended Posts

is it possible to have an if/else statement within a 'for' statement?if so what is the default syntax becuase i keep getting errors!thanks in advance

Try this tutorial, especially the link to part of page 5 where you will find a example of a nested loop using for, if, and else. You might want to review page five of the tut as it builds up the Conditional Statements and Loops.Nested Condition Statements and Loops
Link to comment
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
×
×
  • Create New...