<?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>Save - Revision history</title>
		<link>http://fenixwiki.booleansoup.com/index.php?title=Save&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 09:33:09 GMT</lastBuildDate>
		<item>
			<title>Sandman at 20:48, 23 May 2008</title>
			<link>http://fenixwiki.booleansoup.com/index.php?title=Save&amp;diff=4686&amp;oldid=prev</link>
			<description>&lt;p&gt;&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 20:48, 23 May 2008&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;'''INT''' save ( &amp;lt;'''STRING''' filename&amp;gt; , &amp;lt;'''VARSPACE''' data&amp;gt; )&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;'''INT''' save ( &amp;lt;'''STRING''' filename&amp;gt; , &amp;lt;'''VARSPACE''' data&amp;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: #ffa; font-size: smaller;&quot;&gt;Saves the data from &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;any &lt;/del&gt;variable to the specified file.&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;Saves the data from &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;the specified &lt;/ins&gt;variable to the specified 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;== Parameters ==&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Parameters ==&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 20:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 20:&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;Attempting to use &amp;quot;?&amp;quot;,&amp;quot;*&amp;quot;,&amp;quot;&amp;lt;&amp;quot;,&amp;quot;&amp;gt;&amp;quot; or &amp;quot;|&amp;quot; in a filename will result in no file at all on Windows, while using &amp;quot;:&amp;quot; in a filename results in everything from the &amp;quot;:&amp;quot; and beyond being cut off from the file name and the resulting file will be of size 0.&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;Attempting to use &amp;quot;?&amp;quot;,&amp;quot;*&amp;quot;,&amp;quot;&amp;lt;&amp;quot;,&amp;quot;&amp;gt;&amp;quot; or &amp;quot;|&amp;quot; in a filename will result in no file at all on Windows, while using &amp;quot;:&amp;quot; in a filename results in everything from the &amp;quot;:&amp;quot; and beyond being cut off from the file name and the resulting file will be of size 0.&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: #ffa; font-size: smaller;&quot;&gt;Using the characters &amp;quot;/&amp;quot; or &amp;quot;\&amp;quot; in the filename (without directories that can be &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;accesssed &lt;/del&gt;that way) results in everything from this character and before being cut off from the filename. The file will be saved successfully &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;nontheless&lt;/del&gt;.&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;Using the characters &amp;quot;/&amp;quot; or &amp;quot;\&amp;quot; in the filename (without directories that can be &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;accessed &lt;/ins&gt;that way) results in everything from this character and before being cut off from the filename. The file will be saved successfully &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;nonetheless&lt;/ins&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;== 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;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 34:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 34:&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;        Write(0,10,10,0,&amp;quot;Data saved!&amp;quot;);&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;        Write(0,10,10,0,&amp;quot;Data saved!&amp;quot;);&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: #ffa; font-size: smaller;&quot;&gt;    While (!key(&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;_esc&lt;/del&gt;))&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;    While (!key(&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;_ESC&lt;/ins&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;        Frame;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;        Frame;&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;    End&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;    End&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;End&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;End&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;&amp;lt;/pre&amp;gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;Used in example: [[write]](), [[key]]()&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;Used in example: &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[save]](), &lt;/ins&gt;[[write]](), [[key]]()&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;&amp;#160;&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;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{Funcbox&lt;/ins&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;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;  | category = Files&lt;/ins&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;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Fri, 23 May 2008 20:48:52 GMT</pubDate>			<dc:creator>Sandman</dc:creator>			<comments>http://fenixwiki.booleansoup.com/index.php/Talk:Save</comments>		</item>
		<item>
			<title>85.144.194.29: New article.</title>
			<link>http://fenixwiki.booleansoup.com/index.php?title=Save&amp;diff=4685&amp;oldid=prev</link>
			<description>&lt;p&gt;New article.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:functions]]&lt;br /&gt;
[[Category:files]]&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
'''INT''' save ( &amp;lt;'''STRING''' filename&amp;gt; , &amp;lt;'''VARSPACE''' data&amp;gt; )&lt;br /&gt;
&lt;br /&gt;
Saves the data from any variable to the specified file.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{| &lt;br /&gt;
| '''STRING''' filename || - The name of the file that will be saved.&lt;br /&gt;
|-&lt;br /&gt;
| '''VARSPACE''' data || - The variable (of any [[datatype]])  that will be saved in a file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
'''INT''' : The number of bytes written to the file.&lt;br /&gt;
&lt;br /&gt;
== Notes == &lt;br /&gt;
Attempting to use &amp;quot;?&amp;quot;,&amp;quot;*&amp;quot;,&amp;quot;&amp;lt;&amp;quot;,&amp;quot;&amp;gt;&amp;quot; or &amp;quot;|&amp;quot; in a filename will result in no file at all on Windows, while using &amp;quot;:&amp;quot; in a filename results in everything from the &amp;quot;:&amp;quot; and beyond being cut off from the file name and the resulting file will be of size 0.&lt;br /&gt;
&lt;br /&gt;
Using the characters &amp;quot;/&amp;quot; or &amp;quot;\&amp;quot; in the filename (without directories that can be accesssed that way) results in everything from this character and before being cut off from the filename. The file will be saved successfully nontheless.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Program test;&lt;br /&gt;
Global&lt;br /&gt;
    struct My_struct&lt;br /&gt;
        Level_number=&amp;quot;99&amp;quot;;&lt;br /&gt;
        string Map_name=&amp;quot;Amazing map&amp;quot;;&lt;br /&gt;
    End&lt;br /&gt;
Begin&lt;br /&gt;
        Save(&amp;quot;myfile.sav&amp;quot;,My_struct); // The content of My_struct is saved in myfile.sav&lt;br /&gt;
        Write(0,10,10,0,&amp;quot;Data saved!&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    While (!key(_esc))&lt;br /&gt;
        Frame;&lt;br /&gt;
    End&lt;br /&gt;
End&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Used in example: [[write]](), [[key]]()&lt;/div&gt;</description>
			<pubDate>Fri, 23 May 2008 10:27:24 GMT</pubDate>			<dc:creator>85.144.194.29</dc:creator>			<comments>http://fenixwiki.booleansoup.com/index.php/Talk:Save</comments>		</item>
	</channel>
</rss>