Syntax |
Example |
Description/Remarks |
FPRINT file_number, "text" |
FPRINT 3,"Begin data collection." writes Begin data collection to file 3. FPRINT 2, PBUFF$ writes the contents of the text buffer to file 2. |
Writes "text" to the specified file. Does not return a value. The file_number is an integer from 1 to 10 assigning a number to the file. The file number was specified by the FOPEN command. The file must have been opened in the " W" or "A" mode. This command is identical to FWRITE except that FPRINT does not add a carriage return at the end of each line, and it does not enclose the text in quotation marks. |