Hi,
Your variable declaration is wrong and it seems as if the # operator doesn't support LONGs, use DEC instead
Code:
X VAR LONG
X = 1234567
LCDOUT $FE, 1, DEC X
/Henrik.