GSAK (Geocaching Swiss Army Knife)
Contents - Index

AppendFile (function)

AppendFile(sFilename, sData) : string                

The AppendFile is similar to the PutFile() function with the exception being that the data is appended to the file. If the file does not exist it will be created.

$Data = AppendFile($_AppData + "\test.txt","Some saved Setting")
IF Equal(Left($Data,7),"*Error*")
  Pause Msg="$Data"

Related: FileRead

Alpha List         Category List
Copyright 2004-2016 CWE Computer Services  
Privacy Policy Contact