Next: , Previous: , Up: Basic Editing   [Contents][Index]


3.11 Integers of Different Sizes

When integer values of different sizes are passed to an arithmetic or relational operator, the “smaller” operand gets converted into the size of the “bigger” operand. For example:

(poke) 1H + 2
3

The operands are of size 16-bit and 32-bit respectively, and the result is a 32-bit integer. This is equivalent to:

(poke) 1H as int<32> + 2
3