FPRINT statement
Purpose: Writes literal or variable strings to a file.
Syntax: FPRINT hFile, Comma,Separated,Expressions [;] Parameters:
|
Remarks: FPRINT will allow the use of stderr as the file handle as in:
FPRINT
stderr,"An error has occured"
in order to be able to send formatted output to the stderr.
Example:
FPRINT fp1, "This is a line of text"
Remarks: FPRINT serves the same purpose as the PRINT# syntax used in other BASIC dialects.
BCX Console Sample Programs using FPRINT function.