Xbasic

*COUNT Function

Syntax

Quantity as N = *COUNT(C list_on_values)

Arguments

Quantity

The number of elements in the list.

list_on_values

A CR-LF delimited list of entries.

Description

Get the count of a cr-lf delimited values.

Discussion

The *COUNT() function returns a count of the number of entries in a CR-LF delimited list.

Example

dim list as C

list = <<%a%
1
2
4
10
%a%
? *count(list)
= 4

See Also