<doc>
	<legacy_id>1543</legacy_id>
	<name>processor</name>
	<type>function</type>

	<syntax>
		<example>the processor</example>
		<example>processor()</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary><glossary tag="return">Returns</glossary> a <keyword tag="string">string</keyword> describing the system's CPU chip.</summary>

	<examples>
<example>the processor</example>
<example>if the processor is &quot;ARM&quot; then ...</example>
	</examples>

	<history>
		<introduced version="1.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version="4.5.2">iOS support added</changed>
<changed version="4.6.1">Android support added</changed>
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<ios/>
		<android/>
	</platforms>

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

	<security>
	</security>


	<classification>
		<category>The System Environment</category>
	</classification>

	<references>
		<function tag="machine">machine Function</function>
		<function tag="platform">platform Function</function>
	</references>

	<description>
	<overview>Use the <b>processor</b> function to determine which microprocessor the device has.</overview>

		<parameters>
		</parameters>

	<value>The processor function returns one of the following strings:<p></p><p>* <b>Motorola PowerPC</b> - Mac OS system with a PowerPC processor.</p><p>* <b>Motorola MC68000</b> - Mac OS system with a 68000-family chip (older Macs).</p><p>* <b>unknown</b> - Unix systems.</p><p>* <b>x86</b> - Windows systems and Mac OS X systems with an Intel processor.</p><p>* <b>i386</b> - iOS Simulator.</p><p>* <b>ARM</b> - iOS and Android Devices and the Android simulator.</p></value>
	<comments></comments>
	</description>
</doc>