<doc>
	<legacy_id></legacy_id>
	<name>COMn:</name>
	<type>keyword</type>

	<syntax>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Used with the <command tag="open file">open file</command>, <command tag="read from file">read from file</command>, <command tag="write to file">write to file</command>, and <command tag="close file">close file</command> <glossary tag="command">commands</glossary>, to specify a COM <glossary tag="port">port</glossary> on <glossary tag="Windows">Windows systems</glossary>.</summary>

	<examples>
		<example>read from file COM1: until end</example>
		<example>read from file COM5: until end</example>
	</examples>

	<history>
		<introduced version="1.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version=""></changed>
	</history>

	<objects>
	</objects>

	<platforms>
		<windows/>
	</platforms>

	<classes>
		<desktop/>
		<server/>
		<web/>
	</classes>

	<security>
	</security>

	<classification>
		<category>Networks & Communication</category>
	</classification>

	<references>
		<command tag="write to driver">write to driver Command</command>
		<command tag="close file">close file Command</command>
		<property tag="serialControlString">serialControlString Property</property>
		<keyword tag="LPT1:">LPT1: Keyword</keyword>
	</references>

	<description>
	<overview>Use the <b>COM</b> <glossary tag="keyword">keyword</glossary> to communicate through a COM serial <glossary tag="port">port</glossary>.</overview>

	<parameters></parameters>

	<value></value>
	<comments>To set the port parameters (such as baud rate, handshaking, and parity), set the <b>serialControlString</b> <glossary tag="property">property</glossary> before opening the <glossary tag="port">port</glossary> with the <command tag="open file">open file</command> <glossary tag="command">command</glossary>. <p></p><p>To read data from the COM1: port, use the <b>read from file</b> <glossary tag="command">command</glossary>, specifying the keyword COM1: as the file to read from.  </p><p></p><p>To write data to the COM1: port, use the <b>write to file</b> <glossary tag="command">command</glossary>. </p><p></p><p><tip>You can access any COM port available on the system by using the appropriate index, e.g. COM5:, COM10: etc.</tip></p>
</comments>
	</description>
</doc>