Sorry, basic question :-)
How do I write:
num++;
All I can find that works in Corona is num = num + 1;
Thanks
Tom
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Sorry, basic question :-)
How do I write:
num++;
All I can find that works in Corona is num = num + 1;
Thanks
Tom
That is correct!
num = num + 1
:)
var++ is a 'C' construct and from what I can tell, the designers of Lua wanted to stay as far away from 'C' as possible.