Returns the offset from the top of the specified stack object where the given object is found.
Syntax
search( stack , object )
stack.search( object )
Parameters
stack
|
the stack object to search in.
|
object
|
the object to search for.
|
Returns
offset
|
the offset from the top of the stack where the given object was found in the specified stack.
|
Example
|