<?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%2FSathuheb</id>
	<title>Module:Sandbox/Sathuheb - 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%2FSathuheb"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Sathuheb&amp;action=history"/>
	<updated>2026-04-21T15:14:03Z</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/Sathuheb&amp;diff=146174&amp;oldid=prev</id>
		<title>imported&gt;Sathuheb at 13:00, 16 January 2018</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Sathuheb&amp;diff=146174&amp;oldid=prev"/>
		<updated>2018-01-16T13:00:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Sathuheb Google Code-in 2017, Introduction to Lua in Wikipedia&lt;br /&gt;
-- Task: Create your own Lua module on English Wikipedia. Google Code-in 2017, Introduction to Lua in Wikipedia&lt;br /&gt;
&lt;br /&gt;
-- This is the table which must hold the functions to be returned.&lt;br /&gt;
-- This table will have only one function as a part of this task, &lt;br /&gt;
-- the function to return &amp;quot;Hello, world!&amp;quot;.&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- The function to return &amp;quot;Hello, world!&amp;quot;.&lt;br /&gt;
function p.hello(frame)&lt;br /&gt;
	&lt;br /&gt;
	-- Return the message.&lt;br /&gt;
	return &amp;quot;Hello, world!&amp;quot;;&lt;br /&gt;
	&lt;br /&gt;
-- end of function definition.&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Task: Pass information to your Lua module. Google Code-in 2017, Introduction to Lua in Wikipedia&lt;br /&gt;
&lt;br /&gt;
-- This function returns a string greeting to the name specified &lt;br /&gt;
-- by the arguments of the frame.&lt;br /&gt;
p.Hi = function(frame)&lt;br /&gt;
	&lt;br /&gt;
	-- The name of the person.&lt;br /&gt;
	strName = frame.args.name or &amp;quot;Jimbo&amp;quot;&lt;br /&gt;
	&lt;br /&gt;
	-- Returns the message.&lt;br /&gt;
	return &amp;quot;Hello from Lua to my friend &amp;quot; .. strName .. &amp;quot;.&amp;lt;br&amp;gt;&amp;quot;&lt;br /&gt;
	&lt;br /&gt;
-- end of function definition.&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Task: Perform calculations in Lua. Google Code-in 2017, Introduction to Lua in Wikipedia&lt;br /&gt;
&lt;br /&gt;
-- This function takes an argument &amp;#039;celsius&amp;#039;, a temperature on the&lt;br /&gt;
-- Centigrade scale and returns a string expressing the argument&lt;br /&gt;
-- and the corresponding temperature on the Fahrenheit scale.&lt;br /&gt;
p.temperature = function(frame) &lt;br /&gt;
	&lt;br /&gt;
	-- The temperature on the centigrade scale.&lt;br /&gt;
	cel = frame.args.celsius&lt;br /&gt;
	&lt;br /&gt;
	-- The corresponding temperature on the Fahrenheit scale.&lt;br /&gt;
	fah = cel * 9 / 5 + 32&lt;br /&gt;
	&lt;br /&gt;
	-- Returns the message.&lt;br /&gt;
	return cel .. &amp;quot; degree Celsius is &amp;quot; .. fah .. &amp;quot; degree Fahrenheit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
-- end of function definition.&lt;br /&gt;
end&lt;br /&gt;
-- Returns the table of functions.&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Sathuheb</name></author>
	</entry>
</feed>