<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.signature.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=IB_Statements%2Ffstat</id>
		<title>IB Statements/fstat - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=IB_Statements%2Ffstat"/>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/fstat&amp;action=history"/>
		<updated>2026-04-20T10:22:54Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://wiki.signature.net/index.php?title=IB_Statements/fstat&amp;diff=4128&amp;oldid=prev</id>
		<title>Barb at 16:02, 16 August 2016</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/fstat&amp;diff=4128&amp;oldid=prev"/>
				<updated>2016-08-16T16:02:06Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:02, 16 August 2016&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 129&amp;nbsp; &amp;nbsp; &amp;nbsp;  2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Time of last update (seconds, 2 digits)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 129&amp;nbsp; &amp;nbsp; &amp;nbsp;  2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Time of last update (seconds, 2 digits)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 131&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Time of last update HHMM&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 131&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Time of last update HHMM&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 135&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  For keyed file: File length of I00 file (# of bytes, hex &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;**&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 135&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  For keyed file: File length of I00 file (# of bytes, hex&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;) &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  For object file: if NE &amp;quot;@00000000@&amp;quot; then it's a Comet32 object&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  For object file: if NE &amp;quot;@00000000@&amp;quot; then it's a Comet32 object&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 139&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Key position (extended keyed files only)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 139&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Key position (extended keyed files only)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:4127:newid:4128 --&gt;
&lt;/table&gt;</summary>
		<author><name>Barb</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=IB_Statements/fstat&amp;diff=4127&amp;oldid=prev</id>
		<title>Barb at 15:59, 16 August 2016</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/fstat&amp;diff=4127&amp;oldid=prev"/>
				<updated>2016-08-16T15:59:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:59, 16 August 2016&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 129&amp;nbsp; &amp;nbsp; &amp;nbsp;  2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Time of last update (seconds, 2 digits)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 129&amp;nbsp; &amp;nbsp; &amp;nbsp;  2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Time of last update (seconds, 2 digits)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 131&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Time of last update HHMM&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 131&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Time of last update HHMM&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 135&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  File length of I00 file (# of bytes, hex&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 135&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;For keyed file: &lt;/ins&gt;File length of I00 file (# of bytes, hex &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;**&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  For object file: if NE &amp;quot;@00000000@&amp;quot; then it's a Comet32 object&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 139&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Key position (extended keyed files only)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 139&amp;nbsp; &amp;nbsp; &amp;nbsp;  4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Key position (extended keyed files only)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 143&amp;nbsp; &amp;nbsp; &amp;nbsp;  1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  File type in hex (added in Comet 2005)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 143&amp;nbsp; &amp;nbsp; &amp;nbsp;  1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  File type in hex (added in Comet 2005)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:458:newid:4127 --&gt;
&lt;/table&gt;</summary>
		<author><name>Barb</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=IB_Statements/fstat&amp;diff=458&amp;oldid=prev</id>
		<title>Badge: New page: '''FSTAT function'''    '''Syntax:'''  FSTAT(filename[,DIR=directory][,EXCP=statement-label])    '''Discussion:'''  The FSTAT function returns file status information.   The filename may b...</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/fstat&amp;diff=458&amp;oldid=prev"/>
				<updated>2009-05-22T12:28:43Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;#39;&amp;#39;&amp;#39;FSTAT function&amp;#39;&amp;#39;&amp;#39;    &amp;#39;&amp;#39;&amp;#39;Syntax:&amp;#39;&amp;#39;&amp;#39;  FSTAT(filename[,DIR=directory][,EXCP=statement-label])    &amp;#39;&amp;#39;&amp;#39;Discussion:&amp;#39;&amp;#39;&amp;#39;  The FSTAT function returns file status information.   The filename may b...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''FSTAT function''' &lt;br /&gt;
 &lt;br /&gt;
'''Syntax:'''  FSTAT(filename[,DIR=directory][,EXCP=statement-label])  &lt;br /&gt;
&lt;br /&gt;
'''Discussion:'''  The FSTAT function returns file status information. &lt;br /&gt;
&lt;br /&gt;
The filename may be a string constant, a single-element string variable, a string array element, a string expression, or a string function. &lt;br /&gt;
&lt;br /&gt;
If you specify a directory, and the file does not exist, FSTAT succeeds and gives you the next file in the directory you specified. If you do not specify a directory, and the file does not exist, Comet gives you an error 11 (file not found). &lt;br /&gt;
 &lt;br /&gt;
 Return values:  Position  Length    Description/Values&lt;br /&gt;
 ===================================================================&lt;br /&gt;
 1         1         File type&lt;br /&gt;
                     K = keyed file&lt;br /&gt;
                     D = sequential file&lt;br /&gt;
                     T = text file&lt;br /&gt;
                     O = Comet object program&lt;br /&gt;
                     Q = QICBASIC object program&lt;br /&gt;
 2         1         Locked status&lt;br /&gt;
                     &amp;quot;P&amp;quot; = locked&lt;br /&gt;
                     &amp;quot;&amp;quot; or &amp;quot;@00@&amp;quot; = unlocked&lt;br /&gt;
 3         3         Directory name&lt;br /&gt;
 6         3         Open count (decimal)&lt;br /&gt;
 9         3         Extract count (decimal)&lt;br /&gt;
 12        3         Record size (# of bytes, decimal)&lt;br /&gt;
 15        4         Size of data file (# of bytes, hex)&lt;br /&gt;
 19        6         Create date (MMDDYY)&lt;br /&gt;
 25        6         Update date (MMDDYY)&lt;br /&gt;
 31        3         Key length&lt;br /&gt;
                     (# of bytes, decimal, key files only)&lt;br /&gt;
 34        1         Unused&lt;br /&gt;
 35        11        Next file name in directory&lt;br /&gt;
 46        4         Record size (# of bytes, decimal, 4 digits)&lt;br /&gt;
 50        12        Whole file name after the conversion from Qantel&lt;br /&gt;
                     characters to DOS characters, in the form:&lt;br /&gt;
                     filename (8 characters with blanks appended),&lt;br /&gt;
                     period (if extension is supplied), and&lt;br /&gt;
                     extension (3 characters)&lt;br /&gt;
 62 *      8         Full create date (MMDDYYYY)&lt;br /&gt;
 70 *      8         Full update date (MMDDYYYY)&lt;br /&gt;
 129       2         Time of last update (seconds, 2 digits)&lt;br /&gt;
 131       4         Time of last update HHMM&lt;br /&gt;
 135       4         File length of I00 file (# of bytes, hex)&lt;br /&gt;
 139       4         Key position (extended keyed files only)&lt;br /&gt;
 143       1         File type in hex (added in Comet 2005)&lt;br /&gt;
                       &amp;quot;@01@&amp;quot; = sequential file&lt;br /&gt;
                       &amp;quot;@02@&amp;quot; = contiguous file&lt;br /&gt;
                       &amp;quot;@04@&amp;quot; = keyed file&lt;br /&gt;
                       &amp;quot;@08@&amp;quot; = text file&lt;br /&gt;
                       &amp;quot;@24@&amp;quot; = extended keyed file&lt;br /&gt;
 147       4         Position of object in library file (if object&lt;br /&gt;
                     file is bound)&lt;br /&gt;
&lt;br /&gt;
* Full create date and update date added in Comet 504.239 and Comet98 Build 239.  &lt;br /&gt;
Example:  LENGTH 150 &amp;amp; LOCAL VALUE$&lt;br /&gt;
.&lt;br /&gt;
VALUE$ = FSTAT(&amp;quot;C1A&amp;quot;,EXCP=9999)&lt;br /&gt;
&lt;br /&gt;
This example shows how the FSTAT function can be used to obtain file status information for a file named &amp;quot;C1A&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Badge</name></author>	</entry>

	</feed>