<doc>
	<legacy_id></legacy_id>
	<name>byte</name>
	<type>keyword</type>

	<syntax>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Designates a single byte as part of a <glossary tag="chunk expression">chunk expression</glossary>.</summary>

	<examples>
<example>get byte 1 of tString</example>
<example>put byte 12 to 14 of it into tAnswer</example>
<example><p>get the first byte to tString</p></example>
<example>repeat for each byte tByte of tString</example>
	</examples>

	<history>
		<introduced version="4.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version="7.0">7.0</changed>
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
	</objects>

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

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

	<security>
	</security>


	<classification>
		<category>Text and Data Processing</category>
	</classification>

	<references>
		<keyword tag="character">character Keyword</keyword>
		<keyword tag="characters">characters Keyword</keyword>
		<keyword tag="bytes">bytes Keyword</keyword>
		<keyword tag="codepoint">codepoint Keyword</keyword>
		<keyword tag="codepoints">codepoints Keyword</keyword>
		<keyword tag="codeunit">codeunit Keyword</keyword>
		<keyword tag="codeunits">codeunits Keyword</keyword>
	</references>

	<description>
	<overview>Use the byte <glossary tag="keyword">keyword</glossary> to refer to a specific byte or bytes in a <glossary tag="container">container</glossary>.</overview>

		<parameters>
		</parameters>

	<value></value>
	<comments>A byte is an 8-bit unit and can only be reliably used with binary data.<p></p><p>The hierarchy of the new and altered chunk types is as follows:</p><p></p><p>byte w of codeunit x of codepoint y of char z of word ...</p><p></p><p><note> In versions prior to 7.0 the byte chunk was identical in functionality to the character chunk. For backwards compatibility the byte chunk returns the corresponding native character from Unicode text, or a "?" if nor reperesentable, but this behavior is deprecated and should not be used in new code.</note></comments>
	</description>
</doc>