Quote Originally Posted by HenrikOlsson View Post
That's weird. I'm working on a large project right now, have LONGs enabled and, except for one thing*, have not noticed any such problems. Have been using DEC, BIN, HEX extensively.

You show a comma being output after the equal-sign, is that actually being output or is that an error?

Have you tried with HSEROUT instead of HSEROUT2? Have you tried actually USING a LONG as your variable, instead of a WORD as you're currently doing (both should work of course).

The one thing I stumbled upon is that using the #modifier does not work properly with LONG variables as it rolls over at 65535 so when outputting decimal digits of a LONG variable I had to specifically use DEC.
I see just now your reply. As I told, removing the "DEFINE RESET_ORG" statement then no problem at all.
And yes, I also discovered the # does not work and a DEC is required.
Thanks !