word()

[Conversion]

Description

Converts a value to the word data type.

Syntax

word(x)
word(h, l)

Parameters

x: a value. Allowed data types: any type.
h: the high-order (leftmost) byte of the word.
l: the low-order (rightmost) byte of the word.

Returns

Data type: word.

See also

  • Language byte()

  • Language char()

  • Language float()

  • Language int()

  • Language long()