[categories] [index] [all (556)] [latest]
pstack
or
/printStack {
0 1 count 3 sub {
dup ( ) cvs =only (: ) =only index dup dup xcheck =only ( ) =only type =only ( ) =only ==
} for
} def
(hello) 42 [1 2 3] {dup mul} 3.14159
printStack
will print:
0: false realtype 3.14159
1: true arraytype {dup mul}
2: false arraytype [1 2 3]
3: false integertype 42
4: false stringtype (hello)