anyone know the syntax for "not equal operator" in Lua??

I know this is a stupid question…but I really have no idea how to use “not equal to” in Lua. In most of the programing language I can simply use “!=”, but seems like Lua has a different syntax for “not equal to”…Please help… [import]uid: 38556 topic_id: 7436 reply_id: 307436[/import]

‘~=’ (cf. on a mac keyboard “alt n” and then “=”).
You have a very good overview of lua for eg. with “lua in a week end”.

See http://developer.anscamobile.com/forum/2010/10/13/lua-weekend-lua-basics-example-5-pages

And have a nice wk… [import]uid: 8970 topic_id: 7436 reply_id: 26278[/import]

Thx f2cx [import]uid: 38556 topic_id: 7436 reply_id: 26424[/import]