Fundamental Blocks

This is a very basic outline of some of the most basics blocks in LUA. Every language has a slightly different syntax for these blocks. The intent here is not to teach you how to use the blocks but how to write the blocks. For more in depth descriptions and examples please refer to the LUA documentation.

If statements:

While Loops:

For Loops:

Basic functions: