<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FPHansen%2FTest</id>
	<title>Module:Sandbox/PHansen/Test - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FPHansen%2FTest"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/PHansen/Test&amp;action=history"/>
	<updated>2026-05-26T20:09:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/PHansen/Test&amp;diff=145960&amp;oldid=prev</id>
		<title>imported&gt;PHansen: .. string.len(text)</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/PHansen/Test&amp;diff=145960&amp;oldid=prev"/>
		<updated>2014-12-15T11:50:01Z</updated>

		<summary type="html">&lt;p&gt;.. string.len(text)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--https://en.wikipedia.org/wiki/Help:Lua_for_beginners&lt;br /&gt;
--testes via:  User:PHansen/sandbox&lt;br /&gt;
local p = {} -- defines a variable p as an empty table, but *not* nil.&lt;br /&gt;
 &lt;br /&gt;
text = &amp;quot;Hello world&amp;quot;&lt;br /&gt;
&lt;br /&gt;
--function p.main( frame ) -- this block defines the table element p[main] as the _function_ listed below&lt;br /&gt;
--    return &amp;quot;Hello world&amp;quot; -- the string result&lt;br /&gt;
--end -- ends the block defining p.main&lt;br /&gt;
 &lt;br /&gt;
function p.main( frame ) -- this block defines the table element p[main] as the _function_ listed below&lt;br /&gt;
&lt;br /&gt;
	if string.len(text)  &amp;lt; 15  then     --&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;  nil ?&lt;br /&gt;
		return (&amp;quot;Under 15&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
	else&lt;br /&gt;
    	return text -- the string result&lt;br /&gt;
    end	&lt;br /&gt;
end -- ends the block defining p.main&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return p -- this returns the table p, which contains function p.main, which returns string &amp;quot;Hello world&amp;quot;&lt;/div&gt;</summary>
		<author><name>imported&gt;PHansen</name></author>
	</entry>
</feed>