GSAK (Geocaching Swiss Army Knife)
 

Contents - Index


Declare (command)

Declare <Var=Varname> <Type=Date|Numeric|String|Boolean>

Explicitly declare variables.

Although not a prerequisite, this command is usually used in conjunction with "Option Explicit=Yes". It allows you to declare your variable names and type so as to avoid typing errors later in your macro. In addition, speed benefits become very apparent when you are using a large number of variables and/or there are many lines of code in your macro. 

Summary
Copyright 2004-2008 CWE Computer Services  
Privacy Policy Contact