Simple question: Where is the documentation for if-then-else, while loop, switch statement, etc

Hi.

I know this sounds crazy but I can’t find the document that details if-then-else, while loop, switch statement, etc. [import]uid: 64736 topic_id: 11265 reply_id: 311265[/import]

See: http://www.lua.org/pil/index.html

[import]uid: 19626 topic_id: 11265 reply_id: 40846[/import]

Thanks.

Do you know where the documentation is on the Corona site? I’ve seen it before but I can’t remember where. [import]uid: 64736 topic_id: 11265 reply_id: 40863[/import]

http://developer.anscamobile.com/content/introduction

I think its what your looking for. [import]uid: 19626 topic_id: 11265 reply_id: 40867[/import]

It’s similar to that but describes in more detail conditional statements, for example if-then-else, while that page just describes it’s difference from other languages.
[import]uid: 64736 topic_id: 11265 reply_id: 40878[/import]