|| OF_UNDEFINEDEXPRESSIONS

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Fri Jun 17, 2011 5:47 pm

did || OF_UNDEFINEDEXPRESSIONS
and it's still not allowing random expression names,as in
""whatever" is not an expression in object"
and it won't let me close the expression dialogue
am I missing something somewhere else?
Spriter Dev
B
94
S
21
G
12
Posts: 3,250
Reputation: 16,710

Post » Fri Jun 17, 2011 6:22 pm

Did you use the single-pipe | for bitwise or, or double-pipe || for logical or?

|| only ever returns true or false so if you use it on flags it won't work, you'll just get 1 or 0 back...
Scirra Founder
B
367
S
217
G
82
Posts: 23,262
Reputation: 183,839

Post » Fri Jun 17, 2011 8:15 pm

thank you, that was the problem
Spriter Dev
B
94
S
21
G
12
Posts: 3,250
Reputation: 16,710


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests