Blitzbasic mapengine function
index=var_findvar (bank, name$)

Description
This function search for a variable name into a bank. Use only with this bank-handles: layer\bank4, geo\bank4, map_bank4.

Call this function only first time after loading (faster). After using this function, please call var_getvalue and var_setvalue-functions.

Parameter
bank=bank handle (layer\bank4, geo\bank4, map_bank4)
name=search for this variable name

Return value
variable index (0=not found)