<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=Script_Classes_for_Adventure_Games%2FFile_Class</id>
	<title>Script Classes for Adventure Games/File Class - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=Script_Classes_for_Adventure_Games%2FFile_Class"/>
	<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Script_Classes_for_Adventure_Games/File_Class&amp;action=history"/>
	<updated>2026-09-03T06:12:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=Script_Classes_for_Adventure_Games/File_Class&amp;diff=71791&amp;oldid=prev</id>
		<title>Andrew Branscom: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Script_Classes_for_Adventure_Games/File_Class&amp;diff=71791&amp;oldid=prev"/>
		<updated>2025-02-16T21:05:24Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:05, 16 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=Script_Classes_for_Adventure_Games/File_Class&amp;diff=71790&amp;oldid=prev</id>
		<title>Andrew Branscom: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Script_Classes_for_Adventure_Games/File_Class&amp;diff=71790&amp;oldid=prev"/>
		<updated>2024-06-03T05:14:27Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:14, 3 June 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=Script_Classes_for_Adventure_Games/File_Class&amp;diff=71789&amp;oldid=prev</id>
		<title>Andrew Branscom at 00:13, 12 April 2018</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=Script_Classes_for_Adventure_Games/File_Class&amp;diff=71789&amp;oldid=prev"/>
		<updated>2018-04-12T00:13:55Z</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;[[Official SCI Documentation]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Script Classes for Adventure Games | Table of Contents]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
Chapter: &lt;br /&gt;
[[Script Classes for Adventure Games/Introduction|1]] | &lt;br /&gt;
[[Script Classes for Adventure Games/RootObj Class|2]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Object Class|3]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Collection Class|4]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Script Class|5]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Timer Class|6]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Feature Class|7]] | &lt;br /&gt;
[[Script Classes for Adventure Games/View Class|8]] | &lt;br /&gt;
[[Script Classes for Adventure Games/PicView Class|9]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Cycling Classes|10]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Motion Classes|11]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Avoider Class|12]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Event Class|13]] | &lt;br /&gt;
[[Script Classes for Adventure Games/User Class|14]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Script Classes for Adventure Games/Game Class|15]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Locale Class|16]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Region Class|17]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Room Class|18]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Timer2 Class|19]] | &lt;br /&gt;
[[Script Classes for Adventure Games/InvItem Class|20]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Block Class|21]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Cage Class|22]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Sound Class|23]] | &lt;br /&gt;
[[Script Classes for Adventure Games/StatusLine Class|24]] | &lt;br /&gt;
[[Script Classes for Adventure Games/File Class|25]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Code Class|26]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Global Variables|27]] | &lt;br /&gt;
[[Script Classes for Adventure Games/Index|Index]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-size: 22pt&amp;quot;&amp;gt;The File Class&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;Author: [[Jeff Stephenson]]&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;Date: 5 April 1988&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; The File Class ==&lt;br /&gt;
&lt;br /&gt;
The File class allows you to open and write to a file on disk. This is useful for logging user input for which you have no response in the development or beta-test phase, writing utilities which allow you to position Actors on a picture and then write out the coordinates, etc.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|width= &amp;quot;125&amp;quot;|In file:||file.sc&lt;br /&gt;
|-&lt;br /&gt;
|Inherits from:||Object&lt;br /&gt;
|-&lt;br /&gt;
|Inherited by:||none&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;br /&amp;gt; Properties ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
==== name ====&lt;br /&gt;
&amp;lt;blockquote&amp;gt;The name of the file. Defaults to &amp;quot;gamefile.sh&amp;quot;.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== handle ====&lt;br /&gt;
&amp;lt;blockquote&amp;gt;The handle by which the operating system refers to the opened file. Don&amp;#039;t monkey with this, or you may blow away the OS.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;br /&amp;gt; Methods ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
==== open: [flag] ====&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Open the file whose name is name for writing. The optional parameter flag may be either fAppend, in which case writing begins at the end of an existing file, or fTrunc, in which case the contents of the file are deleted before writing to it. If flag is not present, fAppend is assumed.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== write: str [str ...] ====&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Write the strings pointed to by str to the file.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== close: ====&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Close the file.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; See Also: ==&lt;br /&gt;
&lt;br /&gt;
* [[SCI Specifications]]&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
[[Script Classes for Adventure Games | Table of Contents]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;float: left&amp;quot;&amp;gt;[[Script Classes for Adventure Games/StatusLine Class|&amp;amp;lt; Previous: The StatusLine Class]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;float: right&amp;quot;&amp;gt;[[Script Classes for Adventure Games/Code Class|Next: The Code Class &amp;amp;gt;]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
[[Category:References]]&lt;br /&gt;
[[Category:SCI References]]&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:SCI Documentation]]&lt;br /&gt;
[[Category:Scripting]]&lt;br /&gt;
[[Category:SCI Scripting]]&lt;br /&gt;
[[Category:Classes]]&lt;br /&gt;
[[Category:SCI Classes]]&lt;/div&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
</feed>