<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://seles.info/index.php?action=history&amp;feed=atom&amp;title=Model_Builder%27s_Guide_Chapter_3</id>
	<title>Model Builder&#039;s Guide Chapter 3 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://seles.info/index.php?action=history&amp;feed=atom&amp;title=Model_Builder%27s_Guide_Chapter_3"/>
	<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Model_Builder%27s_Guide_Chapter_3&amp;action=history"/>
	<updated>2026-05-30T05:41:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://seles.info/index.php?title=Model_Builder%27s_Guide_Chapter_3&amp;diff=1820&amp;oldid=prev</id>
		<title>Charles at 17:37, 13 September 2006</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Model_Builder%27s_Guide_Chapter_3&amp;diff=1820&amp;oldid=prev"/>
		<updated>2006-09-13T17:37:16Z</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;=General syntax rules=&lt;br /&gt;
==General Syntax Common to All Model Files==&lt;br /&gt;
* Each command and expression must be on a separate line (i.e. separated by a carriage return). Some expressions may span multiple lines (e.g. “IF” expressions).&lt;br /&gt;
* The last command or expression of a file must end with a carriage return (i.e. the last line of the file should be empty). When the LSEditor cannot locate a syntax error, this should be one of the first items to check.&lt;br /&gt;
* Commands and expressions in model files consist of keywords and expressions.&lt;br /&gt;
* Commands, except the model type declaration at the top of the file, are generally optional.  The default value for commands is given with the syntax description.&lt;br /&gt;
* A command followed by a superscripted asterisk (*) indicates that the command may be repeated zero or more times. A command followed by a superscripted plus sign (+) indicates that the command may be repeated one or more times (i.e. at least once).&lt;br /&gt;
* Two commands separated by a vertical bar (|) indicate alternate forms.&lt;br /&gt;
* Punctuation, where shown, must be provided as is.&lt;br /&gt;
&lt;br /&gt;
* Comments can be placed anywhere in a model file.  Comments are surrounded by “/*” and “*/” (e.g.  /* This is a comment, and will be ignored by the parser */ ). If the parser encounters “//”, the remainder of the line is treated as a comment. Well-documented models have at least as many comments as commands and expressions.&lt;br /&gt;
* White space (extra spaces, tabs, or carriage returns) is ignored and can be used to help format models. Use of consistent indentation (e.g. three spaces for each nested level of sub-expressions) is critical to model readability. Spaces are better to use than tabs since different programs may interpret tab depth differently.&lt;br /&gt;
&lt;br /&gt;
* Labels shown in upper case denote keywords. The parser is not case sensitive, but otherwise keywords must be spelled exactly as shown. Portions of keywords shown in italics are optional (e.g., the syntax description “MINIMUM” indicates that either “MIN” or “MINIMUM” is valid). In versions prior to 3.3, keywords in landscape event and agent files must be in upper case. SELESv3.3 is no longer case sensitive.&lt;br /&gt;
* Labels that are not all upper case (or enclosed in “{}” braces) indicate structures defined elsewhere in the section.&lt;br /&gt;
* Labels enclosed in “&amp;lt; &amp;gt;” indicate text (e.g. variable names) or numbers for which the modeller must substitute an appropriate value.&lt;br /&gt;
&lt;br /&gt;
* Labels preceded by a “#” indicate numbers. If not obvious, command and expression descriptions indicate if these are restricted to integers. In most cases, expressions composed of numbers, constants and arithmetic can be used. For example, the following are valid number expressions: 2, 3.5 1/365.25, (5*-3)^4/6, MaxAge+1 (where MaxAge is a defined constant name), and 1/NUMCELLS (where NUMCELLS is a built-in constant name).&lt;br /&gt;
* NumberPairs and NumberLists may be enclosed in optional brackets “()”, and each number in the list must be separated by a comma (e.g., “(1,2,5,6)” or “1,2,5,6”)&lt;br /&gt;
* Labels preceded by a “%” indicate logical value (true or false). Logical values may be any of: ‘0’, ‘OFF’, or ‘FALSE’ to indicate false; ‘1’, ‘ON’, or ‘TRUE’ to indicate true.&lt;br /&gt;
&lt;br /&gt;
* Text enclosed in double quotes indicates a literal text value (e.g. “This is a literal text string”).&lt;br /&gt;
* Filenames must be specified as literal text if they contain any spaces (as a general rule, spaces in filenames should be avoided).&lt;br /&gt;
&lt;br /&gt;
 Go to... [[Model Builder&amp;#039;s Guide Chapter 2 | Prev Chapter]] [[Model Builder&amp;#039;s Guide Chapter 4 | Next Chapter]] [[Model Builder&amp;#039;s Guide | Guide Index]]&lt;/div&gt;</summary>
		<author><name>Charles</name></author>
	</entry>
</feed>