What's the difference else/non else

Get help using Construct 2

Post » Sat Nov 24, 2012 6:08 pm

If I have a bunch of error codes I'm stringing through say:
var error = "yup_you_messed_up"

do I just have a bunch of statements:
queryparam("error") = "awesome" run statement

queryparam("error") = "yup_you_messed_up" run statement

or do I add an else for each line:
queryparam("error") = "awesome" run statement

else
queryparam("error") = "yup_you_messed_up" run statement

Is there a right way to do this? I want to check for about 30 error codes altogether.
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Return to How do I....?

Who is online

Users browsing this forum: DemantDigitalArt, Unconnected and 29 guests