I want to know if a label is in the menu or not before adding it. I was expecting
[$menu index $label] to return a negative value if not. But to my surprise, it errs.
Then I had a hard time to figure out a way, much longer than a minute!
Is there a built-in way of getting the number of the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.