POSITIONOF
Syntax
<positionof-expression> := 'POSITIONOF(' <Key> ')
Since
2.0
Return-type
Integer
Description
The function POSITIONOF determines the position of a key below his parent and returns it. The first key has always the position 0. If the argument contains more than one key, the corresponding number of positions is returned. If the argument is NULL, the function returns NULL.
Examples
POSITIONOF( Time:'01.01.2002' )
= 0
POSITIONOF( Time:'03.01.2002' )
= 2
See also
LEVELOF
