<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.wiki.mohid.com/index.php?action=history&amp;feed=atom&amp;title=Creating_a_new_subroutine</id>
		<title>Creating a new subroutine - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.mohid.com/index.php?action=history&amp;feed=atom&amp;title=Creating_a_new_subroutine"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Creating_a_new_subroutine&amp;action=history"/>
		<updated>2026-04-04T19:50:50Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Creating_a_new_subroutine&amp;diff=171&amp;oldid=prev</id>
		<title>Guillaume: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Creating_a_new_subroutine&amp;diff=171&amp;oldid=prev"/>
				<updated>2008-12-03T10:27:02Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:27, 3 December 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Guillaume</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Creating_a_new_subroutine&amp;diff=170&amp;oldid=prev</id>
		<title>192.168.20.148 at 14:03, 10 October 2006</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Creating_a_new_subroutine&amp;diff=170&amp;oldid=prev"/>
				<updated>2006-10-10T14:03:26Z</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;In order to create a new subroutine in a module, be sure to maintain the [[Code alignment|alignment rules]] as well as declare it at the top of the '''MODULE'''.&lt;br /&gt;
&lt;br /&gt;
Place your subroutine in the module in the correspondent part ([[Constructor]], [[Selector]], [[Modifier]] or [[Destructor]]).&lt;br /&gt;
&lt;br /&gt;
In great majority of subroutines, variables are passed as arguments; variables are accessed from other modules and variables are local to that subroutine. Thus, one shall organize the subroutine variables declaration zone in the following way:&lt;br /&gt;
&lt;br /&gt;
1)	'''!Arguments------------------------------'''&lt;br /&gt;
&lt;br /&gt;
Below this commented line should be declared the variables passed as arguments, by the order they are defined in the argument list;&lt;br /&gt;
&lt;br /&gt;
2)	'''!Local------------------------------------'''&lt;br /&gt;
&lt;br /&gt;
Below this line variables which are only used inside the subroutine should be declared;&lt;br /&gt;
&lt;br /&gt;
3)	'''!Begin------------------------------------'''&lt;br /&gt;
&lt;br /&gt;
Below this line (plus an empty line) effective source code should begin to be written;&lt;br /&gt;
&lt;br /&gt;
4)     '''!---------------------------------------------------------------------------'''&lt;br /&gt;
&lt;br /&gt;
Between 2 subroutines there should be a separating line as below finishing in column 80:&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>192.168.20.148</name></author>	</entry>

	</feed>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-56589921-5', 'auto');
  ga('send', 'pageview');
</script>