Previous: , Up: Miscellaneous Instructions   [Contents][Index]


22.1.31.6 Instruction sel

Synopsys:

sel

Given a value, push its length as an unsigned long.

The length of an array is the number of values contained in it. The length of a struct is the number of fields contained in it. The length of a string is the number of characters contained in it. The length of any other value is 1.

Stack: ( VAL -- VAL ULONG )