PUT_WORD

Syntax

PUT_WORD #channel, word

Location

DJToolkit 1.16

The supplied word is written to the appropriate channel as a sequence of two bytes. If the word value supplied is bigger than 65,535 then only the lower 16 bits of the value will be used. Negative values will be returned by GET_WORD as positive.

EXAMPLE

PUT_WORD #3, 65535

CROSS-REFERENCE

PUT_BYTE, PUT_FLOAT, PUT_LONG, PUT_STRING.