<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ndwiki.org/index.php?action=history&amp;feed=atom&amp;title=RTCONNECT-FILE</id>
	<title>RTCONNECT-FILE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ndwiki.org/index.php?action=history&amp;feed=atom&amp;title=RTCONNECT-FILE"/>
	<link rel="alternate" type="text/html" href="https://www.ndwiki.org/index.php?title=RTCONNECT-FILE&amp;action=history"/>
	<updated>2026-06-13T12:44:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.ndwiki.org/index.php?title=RTCONNECT-FILE&amp;diff=4280&amp;oldid=prev</id>
		<title>Tingo: created RTCONNECT-FILE page</title>
		<link rel="alternate" type="text/html" href="https://www.ndwiki.org/index.php?title=RTCONNECT-FILE&amp;diff=4280&amp;oldid=prev"/>
		<updated>2017-08-17T10:56:41Z</updated>

		<summary type="html">&lt;p&gt;created RTCONNECT-FILE page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; @RTCONNECT-FILE &amp;lt;file name&amp;gt;, &amp;lt;file no.&amp;gt;, &amp;lt;access type&amp;gt;&lt;br /&gt;
Open a file with a previously defined number. The file will be available for all RT programs.&lt;br /&gt;
; &amp;lt;file name&amp;gt; : (default type = SYMB) file name.&lt;br /&gt;
; &amp;lt;file no.&amp;gt; : (octal 100 - 121) any free number.&lt;br /&gt;
; &amp;lt;access type&amp;gt; : specifies the intended [[access modes|access-mode]], only the following combinations are legal:&lt;br /&gt;
 R  - sequential read&lt;br /&gt;
 W  - sequential write&lt;br /&gt;
 RW - sequential read and write&lt;br /&gt;
 RX - random read&lt;br /&gt;
 WX - random read and write&lt;br /&gt;
 WA - sequential write append&lt;br /&gt;
 RC - random read with read and write access from other users allowed (only contiguous files)&lt;br /&gt;
 WC - random read and write with read and write access from other users allowed (only contiguous files)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Rules:&lt;br /&gt;
#Permitted only for users RT and SYSTEM.&lt;br /&gt;
#See rules 2 - 6 of @[[OPEN-FILE]].&lt;br /&gt;
#When accessing files in RT programs user RT is the user.&lt;br /&gt;
#RT opened files cannot be set permanently open.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
@RTCONNECT-FILE F-1, 120, R&lt;br /&gt;
&lt;br /&gt;
File F-1:SYMB is opened for read by all RT programs and is given file number 120 (octal).&lt;br /&gt;
&lt;br /&gt;
== Related commands ==&lt;br /&gt;
@[[CONNECT-FILE]]&lt;br /&gt;
&lt;br /&gt;
@[[RTCLOSE-FILE]]&lt;br /&gt;
&lt;br /&gt;
@[[RTOPEN-FILE]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{ND-doc|60.128.03}} (printed February 1983), page 1-174&lt;br /&gt;
&lt;br /&gt;
{{ND-doc|60.174.Q01}}&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:System Commands]] [[Category:Real-Time Commands]]&lt;/div&gt;</summary>
		<author><name>Tingo</name></author>
	</entry>
</feed>