No Revisions Have Been Made To This Page
Can you suggest an edit for this page? Click Here
GML Code Example
|id||The id of the list to use.|
|val||The value to find.|
With this function you can check the given list for a value and the position within the list for that value will be returned. Note that if there are more than one entries in the list with the same value, the position of any one of them may be returned, and that if the value does not exist, then -1 will be returned.