Shop OBEX P1 Docs P2 Docs Learn Events
Editor nit-picking — Parallax Forums

Editor nit-picking

vaclav_salvaclav_sal Posts: 451
edited 2009-01-31 17:32 in BASIC Stamp
I'll admit it -·this is no real issue but...
If I code
DEBUG BIN ? OUTS
why does the printout delte leading zeroes?

Happy coding
Vaclav

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,559
    edited 2009-01-31 16:40
    vaclav_sal

    The Editor defaults so that it will truncate leading zeros with all number descriptors.
    you can force it to be FIXed instead by placing a valid number after the descriptor.
    Try this for your code instead...

    DEBUG BIN16 ? OUTS

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • vaclav_salvaclav_sal Posts: 451
    edited 2009-01-31 17:32
    Thanks - I feel better now.
Sign In or Register to comment.