View Full Version : LCDOUT with a LONG Variable
MarkEngineer
- 15th January 2015, 17:25
Hello is there a way to use LCDOUT with a long variable?
DEFINE X VAR LONG
LCDOUT $FE, LINE1, #X
It appears to always convert the variable to a WORD then outputs it
HenrikOlsson
- 15th January 2015, 19:31
Hi,
Your variable declaration is wrong and it seems as if the # operator doesn't support LONGs, use DEC instead
X VAR LONG
X = 1234567
LCDOUT $FE, 1, DEC X
/Henrik.
Experimenter
- 15th January 2015, 20:09
Hi,
I think that SDEC instead of DEC will solve your problem!
MarkEngineer
- 16th January 2015, 13:27
Thank you, SDEC works!
Acetronics2
- 16th January 2015, 16:31
Thanks for the tip ...
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.