Shop OBEX P1 Docs P2 Docs Learn Events
Debug formatting — Parallax Forums

Debug formatting

Is it possible to have debug simply show a decimal value of a variable without showing the name of the variable?

Also, is zstr() safe for non-displayable characters? ie characters below dec 31 and above dec 128?

Looking through the Spin2 document and am unsure about either.

Thanks,
Terry

Comments

  • Instead of entering sdec(), use sdec_() instead.

  • Ah, just found this in the docs in a footnote:

    "These commands accept multiple parameters, or multiple sets of parameters. Alternate commands with the same names, but ending in "", are also available for value-only output (i.e. ZSTR, LSTR_, UDEC_)."

  • Thanks @DiverBob !

Sign In or Register to comment.