ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / External file functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds the content of a buffer at the end of a file.
Example
MyBuffer is Buffer
MyBuffer = fLoadBuffer("C:\tmp\Page1.html")
 
IF fAddBuffer("C:\test\MyFile.html", MyBuffer)
Info("Addition successful")
END
Syntax
<Result> = fAddBuffer(<File used> , <Buffer to add>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<File used>: Character string
File to be used (up to 260 characters). This parameter can be:
  • a file name. This file will be automatically sought in the current directory (returned by fCurrentDir).
  • a file name with its full or relative path. A UNC path can be used.
Caution: this file is modified by fAddBuffer.
WindowsLinux This parameter can be in Ansi or Unicode format.
<Buffer to add>: Buffer
Name of the buffer variable whose content must be added to the file.
Component: wd290std.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/24/2022

Send a report | Local help