<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://fenixwiki.booleansoup.com/skins/common/feed.css?63"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>GraphID - Revision history</title>
		<link>http://fenixwiki.booleansoup.com/index.php?title=GraphID&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:07:11 GMT</lastBuildDate>
		<item>
			<title>Sandman at 23:26, 3 June 2007</title>
			<link>http://fenixwiki.booleansoup.com/index.php?title=GraphID&amp;diff=2443&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;
'''GraphID'''&lt;br /&gt;
&lt;br /&gt;
A GraphID is an identifier associated with a certain [[graphic]] in the [[file]] (FPG) specified by a [[FileID]].&lt;br /&gt;
&lt;br /&gt;
GraphID's can be used to point to certain graphics in certain files (FPGs), for displaying them onscreen, or manipulating them in another way, like [[put]]() or [[map_put]](). They can also be used to specify the graphic of a [[process]] or [[function]], by assigning the GraphID to the [[local variable]] [[graph]]. This will make the process use the graphic in the file (FPG), specified by the local variable [[file]], at the position specified by the local variable graph.&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:26:57 GMT</pubDate>			<dc:creator>Sandman</dc:creator>			<comments>http://fenixwiki.booleansoup.com/index.php/Talk:GraphID</comments>		</item>
	</channel>
</rss>