I can’t do this:
boolean =! boolean
is there a similar way to do this in Lua? [import]uid: 3018 topic_id: 2178 reply_id: 302178[/import]
I can’t do this:
boolean =! boolean
is there a similar way to do this in Lua? [import]uid: 3018 topic_id: 2178 reply_id: 302178[/import]
am not in front of Corona, but if memory serves me right
boolean = not boolean
-> try todo a print ( not boolean ) see what you get.
or
or you could do the
boolean = boolean or someValue
which equates to if not boolean then boolean = someValue end
c
[import]uid: 24 topic_id: 2178 reply_id: 6537[/import]