GSAK (Geocaching Swiss Army Knife)
Contents - Index

VarExists (function)

VarExists(sVarName) : Boolean

VarExists() enables you to test for the existence of a variable. Use when you want to know if a variable has already been created or not . Remove the leading $ when passing the variable name to check.
 

$test = "abc"
If VarExists("test")
MsgOk Msg="Variable exists"
Endif

 
Also see the RemoveVar() function
 
Alpha List         Category List

Copyright 2004-2019 CWE Computer Services  
Privacy Policy Contact