ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / External file functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds the content of a buffer at the end of a file.
Example
MonBuffer is Buffer 
MonBuffer = fLoadBuffer("C:\tmp\Page1.html")

IF fAddBuffer("C:\test\MonFichier.html", MonBuffer)
	Info("Ajout réussi")
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 correspond to:
  • a file name. This file will be automatically searched 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 the function fAddBuffer.
Windows 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: wd300std.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help