<doc>
	<legacy_id>1507</legacy_id>
	<name>stderr</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 error">standard error</glossary> location.</summary>

	<examples>
<example>write field 3 to stderr</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/>
		<linux/>
	</platforms>

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

	<security>
	</security>


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

	<references>
		<keyword tag="stdout">stdout Keyword</keyword>
		<keyword tag="stdin">stdin Keyword</keyword>
	</references>

	<description>
	<overview>Use the <b>stderr</b> <glossary tag="keyword">keyword</glossary> to write error messages to the <glossary tag="standard error">standard error</glossary> location, usually the screen or console window.</overview>

		<parameters>
		</parameters>

	<value></value>
	<comments>On Unix systems, error messages from a program are normally displayed on the console, 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, <b>stderr</b> is used as the target for default error messages if 'the <property tag="errorMode">errorMode</property>' is <b>stderr</b> and the default error handler is triggered. </p><p></p><p>When you use the <b>write to file</b> <glossary tag="command">command</glossary> with the <b>stderr</b> <glossary tag="keyword">keyword</glossary>, LiveCode writes data to the <glossary tag="standard error">standard error</glossary> location.</p><p></p><p></p><change><p>Support for using <b>stderr</b> on <glossary tag="OS X">OS X systems</glossary> was added in version 2.0.</change><p>Support for using <b>stderr</b> on Server was added in version 4.6.3.</p></comments>
	</description>
</doc>