GSAK (Geocaching Swiss Army Knife)
Contents - Index

If (command)

IF <expression>

Use this command to execute a group of macro commands only if a certain condition exists. The expression used must return a Boolean true or false value. You must end the group of statements being executed with the ENDIF command. To execute other commands for the false condition use the ELSE command. For example:
 

IF FileExists("c:\mail\12345.GPX")
   DATABASE Name="Default"
   LOAD Settings="12345 settings" File="c:\mail\12345.GPX"
ELSE
  PAUSE Msg="File 12345.GPX not found"
ENDIF


Alpha List         Category List


Copyright 2004-2019 CWE Computer Services  
Privacy Policy Contact