Shop Learn P1 Docs P2 Docs 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.



  • DiverBobDiverBob Posts: 1,034

    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.