<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://fenixdocs.com/skins/common/feed.css?63"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>FileID - Revision history</title>
		<link>http://fenixdocs.com/index.php?title=FileID&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.10.1</generator>
		<lastBuildDate>Fri, 01 May 2026 08:31:08 GMT</lastBuildDate>
		<item>
			<title>Rincewind: file = 0 explanation added</title>
			<link>http://fenixdocs.com/index.php?title=FileID&amp;diff=2789&amp;oldid=prev</link>
			<description>&lt;p&gt;file = 0 explanation added&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Revision as of 23:02, 23 July 2007&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 5:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 5:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;A FileID is an identifier associated with a certain [[file]] (FPG). It is returned by [[load_fpg]](), when a file is loaded to memory and can be used in many [[function]]s, wanting a FileID, for example [[map_put]]() or [[start_scroll]](). A FileID can also be assigned to the [[local variable]] [[file]] of a [[process]] or function, which will make the process in question look in that file (FPG) for the [[graphic]], associated with the [[GraphID]] specified by the process' [[graph]] local variable.&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;A FileID is an identifier associated with a certain [[file]] (FPG). It is returned by [[load_fpg]](), when a file is loaded to memory and can be used in many [[function]]s, wanting a FileID, for example [[map_put]]() or [[start_scroll]](). A FileID can also be assigned to the [[local variable]] [[file]] of a [[process]] or function, which will make the process in question look in that file (FPG) for the [[graphic]], associated with the [[GraphID]] specified by the process' [[graph]] local variable.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;== Notes ==&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;You can fill out 0 for the [[FileID]] if the graph you want to use only exist in memory and not in a file. &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Example ==&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Example ==&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Mon, 23 Jul 2007 23:02:01 GMT</pubDate>			<dc:creator>Rincewind</dc:creator>			<comments>http://fenixdocs.com/index.php/Talk:FileID</comments>		</item>
		<item>
			<title>Sandman at 23:20, 3 June 2007</title>
			<link>http://fenixdocs.com/index.php?title=FileID&amp;diff=2442&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:general]]&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
'''FileID'''&lt;br /&gt;
&lt;br /&gt;
A FileID is an identifier associated with a certain [[file]] (FPG). It is returned by [[load_fpg]](), when a file is loaded to memory and can be used in many [[function]]s, wanting a FileID, for example [[map_put]]() or [[start_scroll]](). A FileID can also be assigned to the [[local variable]] [[file]] of a [[process]] or function, which will make the process in question look in that file (FPG) for the [[graphic]], associated with the [[GraphID]] specified by the process' [[graph]] local variable.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Program files;&lt;br /&gt;
Global&lt;br /&gt;
    int file_id;&lt;br /&gt;
Begin&lt;br /&gt;
&lt;br /&gt;
    // Load FPG&lt;br /&gt;
    file_id = load_fpg(&amp;quot;example.fpg&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    // Set locals for display of graph&lt;br /&gt;
    file = file_id;&lt;br /&gt;
    graph = 1;&lt;br /&gt;
    x = y = 50;&lt;br /&gt;
&lt;br /&gt;
    Repeat&lt;br /&gt;
        frame;&lt;br /&gt;
    Until(key(_frame))&lt;br /&gt;
&lt;br /&gt;
End&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Used in example: [[load_fpg]](), [[key]](), [[file]], [[graph]]&lt;/div&gt;</description>
			<pubDate>Sun, 03 Jun 2007 23:20:14 GMT</pubDate>			<dc:creator>Sandman</dc:creator>			<comments>http://fenixdocs.com/index.php/Talk:FileID</comments>		</item>
	</channel>
</rss>