Returns the number ofstructure tags contained in any expression.
b = {example, t1: [1, 2, 3], t2: 7.0, $ t3: {field3, t3_t1: 99L, t3_t2: [2, 4, 6]}} INFO, b, /Structure ** Structure EXAMPLE, 3 tags, 32 length:
PRINT, N_TAGS(b)
3
b
.
PRINT, N_TAGS(b.t1)
0
b
.
PRINT, N_TAGS(b.t2)
0
PRINT, N_TAGS(b.t3)
2