PreviousdeepfinalizeWithDepth Up

Collection Method detect

Sends lnkMessage for each element within this collection, passing the element to the invoked method until one of the elements causes lnkMessage to return true (1). lnkMessage is a Callback pointing to a method which expects an element as a parameter and returns a pic x comp-5. If the Callback returns true (1), then the element that caused this is returned in lnkElement and lnkMessage is not sent to any more elements. If no element causes lnkMessage to return true then an exception is raised.

Using Parameters
lnkmessage OBJECT
Returning Parameter
lnkElement GROUP