<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://fenixdocs.com/skins/common/feed.css?63"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fenixdocs.com/index.php?action=history&amp;feed=atom&amp;title=FileID</id>
		<title>FileID - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fenixdocs.com/index.php?action=history&amp;feed=atom&amp;title=FileID"/>
		<link rel="alternate" type="text/html" href="http://fenixdocs.com/index.php?title=FileID&amp;action=history"/>
		<updated>2026-05-01T08:31:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.10.1</generator>

	<entry>
		<id>http://fenixdocs.com/index.php?title=FileID&amp;diff=2789&amp;oldid=prev</id>
		<title>Rincewind: file = 0 explanation added</title>
		<link rel="alternate" type="text/html" href="http://fenixdocs.com/index.php?title=FileID&amp;diff=2789&amp;oldid=prev"/>
				<updated>2007-07-23T23:02:01Z</updated>
		
		<summary type="html">&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;</summary>
		<author><name>Rincewind</name></author>	</entry>

	<entry>
		<id>http://fenixdocs.com/index.php?title=FileID&amp;diff=2442&amp;oldid=prev</id>
		<title>Sandman at 23:20, 3 June 2007</title>
		<link rel="alternate" type="text/html" href="http://fenixdocs.com/index.php?title=FileID&amp;diff=2442&amp;oldid=prev"/>
				<updated>2007-06-03T23:20:14Z</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;[[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;</summary>
		<author><name>Sandman</name></author>	</entry>

	</feed>