NUL characters not shown in trace output
Brought to you by:
rexx
When tracing code that inserts NUL (x2c(00)) characters, the trace output will simply not display them:
Code:
/* REXX */
trace ?i
pull q
q = '='x2c(00)|| q || x2c(00)'='
say q
Output of trace:
3 *-* pull q
>>> "123"
+++ Interactive trace. "Trace Off" to end debug. ENTER to continue.
4 *-* q = '='x2c(00)|| q || x2c(00)'='
>L> "="
>L> "00"
>F> ""
>O> "="
>V> "123"
>O> "="
>L> "00"
>F> ""
>O> "="
>L> "="
>O> "="
5 *-* say q
>V> "="
Pretty annoying... (Platform Windows, Regina REXX-Regina_3.4(MT) 5.00 30 Dec 2007. All rights reserved.
In tracing output a blank will be shown where a NUL character would appear in the value of a variable to ensure that it appears that a character is present. Fixed for v3.8RC2