
File-based Decoding User Manual Chapter 4: Operators
LeCroy Corporation 15
more() Returns a non-zero
value if the list
iterator did not
reach the bounds
of the list
List Integer list = [1, 2, 3];
for( item = first(list);
more(list); item = next(list) )
{
ProcessItem( item );
}
last() Returns the last
element of the list
and resets the
position of the list
iterator to the end
of the list
List Any list = [1, 2, 3];
for( item = last(list);
more(list); item = prev(list) )
{
ProcessItem( item );
}
prev() Returns the
previous element in
the list relative to
the previous
position of the list
iterator
List Any list = [1, 2, 3];
for( item = last(list);
more(list); item = prev(list) )
{
ProcessItem( item );
}
Operator
Symbol Description Operand Types
Result
Types Examples
Table 4.2 Operators (Continued)
Kommentare zu diesen Handbüchern