New WINDEV, WEBDEV and WINDEV Mobile 28 feature!
Help / WLanguage / WLanguage functions / Standard functions / External file management functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
The following functions are used to handle external files, using prefix syntax:
Resizes an external file.
New in version 28
<DiskFile variable>.Close
Closes an external file.
Returns the name of an external file currently open.
New in version 28
<DiskFile variable>.Find
Finds a character string or a buffer in a file opened by fOpen.
New in version 28
<DiskFile variable>.Lock
Entirely or partially locks an external file.
New in version 28
<DiskFile variable>.Read
  • a block of bytes (characters) in an external file (ANSI or Unicode),
  • the content of an external file (ANSI or Unicode) and assigns it to a memory area.
Reads a line from an external file (ANSI or UNICODE).
Reads a line in an external file, gets sections of this line according to a regular expression and assigns them to a variable.
New in version 28
<DiskFile variable>.Seek
Gets and sets current position in an external file.
New in version 28
<DiskFile variable>.Size
Returns the size of a file (in bytes).
Entirely or partially unlocks an external file.
New in version 28
<DiskFile variable>.Write
  • a character string into an external file.
  • a memory section.
Writes a line into a text file (ANSI or UNICODE).
Minimum version required
  • Version 28
This page is also available for…
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help