Search and return the index of a variable
Expected O(1).
$(PCID)
$(VARNAME)
null if not found
See Implementation
Search and return the index of a variable
Expected O(1).