|| 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
97
S
21
G
12
Posts: 3,259
Reputation: 16,844

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
383
S
225
G
86
Posts: 24,119
Reputation: 190,546

Post » Fri Jun 17, 2011 8:15 pm

thank you, that was the problem
Spriter Dev
B
97
S
21
G
12
Posts: 3,259
Reputation: 16,844


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests