<doc>
	<legacy_id>1113</legacy_id>
	<name>stdout</name>
	<type>keyword</type>

	<syntax>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Used with the <command tag="write to file">write to file</command> <glossary tag="command">command</glossary> to designate the <glossary tag="standard output">standard output</glossary>.</summary>

	<examples>
<example>write field 3 to stdout</example>
	</examples>

	<history>
		<introduced version="1.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version="4.6.3">Added Support for Server.</changed>
<changed version="2.0">2.0</changed>
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
	</platforms>

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

	<security>
	</security>


	<classification>
		<category>The System Environment</category>
		<category>Files, Folders, &amp; Resources</category>
	</classification>

	<references>
		<command tag="write to file">write to file Command</command>
		<command tag="write to process">write to process Command</command>
		<keyword tag="stdin">stdin Keyword</keyword>
		<keyword tag="stderr">stderr Keyword</keyword>
	</references>

	<description>
	<overview>Use the <b>stdout</b> <glossary tag="keyword">keyword</glossary> to write data to the <glossary tag="standard output">standard output, </glossary>usually the screen or console window.</overview>

		<parameters>
		</parameters>

	<value></value>
	<comments>On Unix systems, output from a program is normally written to the screen, but can be redirected to go to another device, process, or file. This redirection is done on the command line when the program is started up.<p></p><p>On a server in CGI mode, writing to <b>stdout</b> for the first time triggers any headers to be generated. </p><p></p><p>When you use the <b>write to file</b> <glossary tag="command">command</glossary> with the <b>stdout</b> <glossary tag="keyword">keyword</glossary>, LiveCode writes data to the <glossary tag="standard output">standard output</glossary>.</p><p></p><p><code tag=""><note></code><code tag="">On</code> <glossary tag="OS X">OS X systems</glossary>, the <glossary tag="standard output">standard output</glossary> is the Console window, not the Terminal window.</note><p></p><p></p><change><p>Support for using <b>stdout</b> on <glossary tag="OS X">OS X systems</glossary> was added in version 2.0.</change><p>Support for using <b>stdout</b> on Server was added in version 4.6.3.</p></comments>
	</description>
</doc>