CAS 6


nnz
- Arithmetic

Summary

Get the nth non zero item.

Examples

1 nnz VALUE1 VALUE2 VALUE3 VALUE4

Syntax

(ItemNumber) nnz NumField1 NumField2 (NumFieldN)

Left Arguments

Name Data Type Input Type Description Optional Default
ItemNumber Numeric Constant n - Get nth non-zero item; -n - Get nth non-zero item from the end; 0 - Get number of non-zero items; No

Right Arguments

Name Data Type Input Type Description Optional Default
NumField1 Numeric Field, Constant Data No
NumField2 Numeric Field, Constant Data No
NumFieldN Numeric Field, Constant Data Yes

Result

Type: Numeric

See description of left argument



Build 6.0.624