<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[esxDOS BBS — TR-DOS: Sequential file streams - Invalid stream on open for read]]></title>
		<link>https://board.esxdos.org/viewtopic.php?id=447</link>
		<atom:link href="https://board.esxdos.org/extern.php?action=feed&amp;tid=447&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in TR-DOS: Sequential file streams - Invalid stream on open for read.]]></description>
		<lastBuildDate>Sun, 17 Mar 2019 07:51:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[TR-DOS: Sequential file streams - Invalid stream on open for read]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1143#p1143</link>
			<description><![CDATA[<p>Hi,</p><p>I was trying to use the file streams with TR-DOS and found a bug: opening streams for writing works, but opening for read always returns &#039;Ivalid stream&#039; error.</p><p>Here is a sample programs that work on FUSE with Betadisk enabled:</p><div class="codebox"><pre><code>   10 LET DOS=15619
   11 PRINT &quot;DELETING DATA FILE&quot;
   12 RANDOMIZE USR DOS: REM : ERASE &quot;DATA&quot;#
   15 PRINT &quot;OPENING WRITE STREAM&quot;
   20 RANDOMIZE USR DOS: REM : OPEN #4,&quot;DATA&quot;,W
   25 PRINT &quot;WRITING&quot;
   30 PRINT #4;&quot;DATA LINE 2&quot;
   35 PRINT &quot;CLOSING&quot;
   40 RANDOMIZE USR DOS: REM : CLOSE #4
   45 PRINT &quot;OPENING READ STREAM&quot;
   50 RANDOMIZE USR DOS: REM : OPEN #4,&quot;DATA&quot;,R
   55 PRINT &quot;READING&quot;
   60 INPUT #4;A$: PRINT A$
   65 PRINT &quot;CLOSING&quot;
   70 RANDOMIZE USR 15619: REM : CLOSE #4
   75 PRINT &quot;DONE&quot;</code></pre></div><p>The error is thrown at line 50.</p>]]></description>
			<author><![CDATA[null@example.com (macca)]]></author>
			<pubDate>Sun, 17 Mar 2019 07:51:12 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1143#p1143</guid>
		</item>
	</channel>
</rss>
