PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 name> , <Buffer to add>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To find out the error details, use ErrorInfo associated with the errMessage constant.
<File name>: Character string (with quotes)
File to use (up to 260 characters). This parameter can correspond to:
  • 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.
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 : wd250std.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment