<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tw-modding.com/index.php?action=history&amp;feed=atom&amp;title=Lua%3AChunks_%26_Statements</id>
	<title>Lua:Chunks &amp; Statements - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tw-modding.com/index.php?action=history&amp;feed=atom&amp;title=Lua%3AChunks_%26_Statements"/>
	<link rel="alternate" type="text/html" href="https://tw-modding.com/index.php?title=Lua:Chunks_%26_Statements&amp;action=history"/>
	<updated>2026-05-13T19:31:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://tw-modding.com/index.php?title=Lua:Chunks_%26_Statements&amp;diff=1211&amp;oldid=prev</id>
		<title>Grimmys: Add LUA tutorial category</title>
		<link rel="alternate" type="text/html" href="https://tw-modding.com/index.php?title=Lua:Chunks_%26_Statements&amp;diff=1211&amp;oldid=prev"/>
		<updated>2024-03-11T19:23:25Z</updated>

		<summary type="html">&lt;p&gt;Add LUA tutorial category&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:23, 11 March 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Remember the term “chunk” – we’ll be covering how they’re defined later on, when we look at some more keywords.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Remember the term “chunk” – we’ll be covering how they’re defined later on, when we look at some more keywords.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Lua Tutorials]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Grimmys</name></author>
	</entry>
	<entry>
		<id>https://tw-modding.com/index.php?title=Lua:Chunks_%26_Statements&amp;diff=144&amp;oldid=prev</id>
		<title>Vandy: Created page with &quot;The first two terms we’ll look at are chunks and statements. When Lua is brought to its basic skeletal structure, that’s all it is – chunks of statements.  Statement: A...&quot;</title>
		<link rel="alternate" type="text/html" href="https://tw-modding.com/index.php?title=Lua:Chunks_%26_Statements&amp;diff=144&amp;oldid=prev"/>
		<updated>2021-02-07T18:39:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The first two terms we’ll look at are chunks and statements. When Lua is brought to its basic skeletal structure, that’s all it is – chunks of statements.  Statement: A...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The first two terms we’ll look at are chunks and statements. When Lua is brought to its basic skeletal structure, that’s all it is – chunks of statements.&lt;br /&gt;
&lt;br /&gt;
Statement: A declaration, a thing-to-be-done, a command that Lua will run Chunk: A sequence of statements, from an entire file to a single line of data&lt;br /&gt;
&lt;br /&gt;
Every chunk is a to-do list, and a statement is an objective on that list. You can have to-do lists of all shapes and sizes, and each thing that needs to be done can be small – “brushing your teet” – or huge – “spend way too much money on transmission repairs”. No, I’m not still salty about the money I spent on transmission repairs, why do you ask?&lt;br /&gt;
&lt;br /&gt;
The Lua interpreter divides everything it takes into specific chunks, which we’ll look at later on. For now, we understand the term chunk – a to-do list.&lt;br /&gt;
&lt;br /&gt;
Within each chunk is one or more statements. A statement is one coherent thought or action within Lua. Something like this can be one statement:&lt;br /&gt;
 &amp;lt;code&amp;gt;a = 1&amp;lt;/code&amp;gt;&lt;br /&gt;
Or, this can be one statement:&lt;br /&gt;
 &amp;lt;code&amp;gt;a = 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 - 1 / 70 * 300 + 5180 - 418 + 405&amp;lt;/code&amp;gt;&lt;br /&gt;
That is, one bit of data that Lua has to evaluate and run.&lt;br /&gt;
&lt;br /&gt;
Remember the term “chunk” – we’ll be covering how they’re defined later on, when we look at some more keywords.&lt;/div&gt;</summary>
		<author><name>Vandy</name></author>
	</entry>
</feed>