findlast
findlast |
Purpose
Synopsis
function findlast(l:list, e:type_of_l):integer
Arguments
l
|
A list
|
e
|
The element to look for (it must be of the type of
l)
|
Return value
The position of the element or 0 if the element is not included in the list.
Example
L:=['a','b','c','d','b'] i:=findlast(L,'b') ! => i=5 i:=findlast(L,'f') ! => i=0
Related topics