System Debug Reference Manual (32650-90888)

360 Chapter10
System Debug Standard Functions
func asc
$nmdat > wl asc(number, "r,w6,-,z")
000123
Several examples of formatting an unsigned 32-bit value.
$nmdat > var s1="test"
$nmdat > wl asc(s1)
test
$nmdat > wl asc(s1, "QS")
'test'
$nmdat > wl asc(s1 "QO")
"test"
$nmdat > wl asc(s1 "t")
STR test
$nmdat > wl asc(s1 "w2")
test
$nmdat > wl asc(s1, "w2*4,r")
test
$nmdat > var curwidth 8
$nmdat > wl asc(s1 'wcurwidth, r QD')
" test"
Several examples of formatting a string.
$nmdat > var long 2f.42c8
$nmdat > wl asc(long)
$2f.000042c8
$nmdat > wl asc(long, "t")
LPTR $2f.000042c8
$nmdat > wl asc(long, "-.+")
2f.$000042c8
$nmdat > wl asc(long, "#.$ m.m")
#47.$42c8
$nmdat > wl asc(long, "r.r, f.m z")
0000002f.42c8
$nmdat > wl asc(long, "r.r w6.6 z.z")
00002f.0042c8
$nmdat > wl asc(long, 'r.r w6.2*3 z.z qd')
"00002f.0042c8"
$nmdat > wl asc(long, 'r.r,w(2*3).(4+2),b.b,$.$')
$2f. $42c8
$nmdat > var width 6.6
$nmdat > wl asc(long, 'r.l Wwidth, b.b, $.$')
$2f . $42c8
Several examples of formatting a long pointer.
Limitations, Restrictions
none