aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/api/lowbyte.rst
blob: 58e622fc7955c2502c56658e9fc3cb08c73c85c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. _lang-lowbyte:

lowByte()
=========

Extracts the low-order (rightmost) byte of a variable (e.g. a
word).

Syntax
------

lowByte(x)

Parameters
----------

**x**: a value of any type.  However, if a non-integral type is used,
the results will be strange.

Returns
-------

The low byte's value (this will be between 0 and 255).

.. include:: cc-attribution.txt