Whitespace: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Emess
New page: Whitespace is a type of character used to make code easier to read. It is ignored (in most cases) by the Lua compiler. {{Example| Without whitespace: <pre>random_number = 153 good_food ...
 
>Emess
No edit summary
Line 1: Line 1:
Whitespace is a type of character used to make code easier to read. It is ignored (in most cases) by the Lua compiler.
Whitespace is a type of character used to make code easier to read. It is ignored (in most cases) by the Lua compiler.


{{Example|
{{Example|
Without whitespace:
Without whitespace:
<pre>random_number = 153
<pre>random_number = 153

Revision as of 04:22, 16 March 2011

Whitespace is a type of character used to make code easier to read. It is ignored (in most cases) by the Lua compiler.

Example

Without whitespace:

random_number = 153
good_food = "tacos"

With whitespace:

number          = 476
disgusting_food = "fried chicken"