|| 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
88
S
21
G
12
Posts: 3,240
Reputation: 16,486

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
359
S
214
G
72
Posts: 22,952
Reputation: 178,620

Post » Fri Jun 17, 2011 8:15 pm

thank you, that was the problem
Spriter Dev
B
88
S
21
G
12
Posts: 3,240
Reputation: 16,486


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 1 guest