Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






@Count

Calculates the number of text, number, or time-date values in a list. This function always returns a number to indicate the number of entries in the list.

This function is similar to @Elements, except that it returns the number 1 instead of 0, when the value it is evaluating is not a list or is a null string.

Note This @function is new with Release 6.

Syntax

@Count( list )

Parameters

list

Text list, number list, or time-date list.

Return value

numElements

Number. The number of elements in the list. If the value is not a list or is a null string, @Count(list) returns the number 1.

Language cross-reference

GetItemValue method of LotusScript NotesDocument class

Values property of LotusScript NotesItem class

getItemValue method of Java Document class

Values property of Java Item class

See examples

Examples: @Count
Related topics
Working with lists




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009