Skip to main content
Skip table of contents

f$FileWrite (f$DateiSchreiben)


f$FileWrite (f$DateiSchreiben)

Write a text at the current position in a file previously opened for writing. A line break is not created. This can be done using the f$FileNewLine function. A file line can also be written with a command, using f$FileWriteLine.

Syntax:

Status = f$FileWrite( FileNo, Text )

 

Argument

Type

Meaning

 

FileNo

Integer

File number

 

Text

String

Text to be produced

Result:

Integer

Number of characters written
value < 0 indicates an error

Example:

Status = f$FileWrite( FileNo, 'Smith' )

Related functions:

f$FileWriteLine

Write a line into a file (with line break)

f$FileNewLine

Write a line break into a file

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.