Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



This statement will write to a file opened for sequential access. It takes the general from:

WRITESEQ expression {APPEND} ON|TO FileVar THEN | ELSE statements


WRITESEQF expression {APPEND} TO FileVar THEN | ELSE statements


Variable specifies the variable to contain next record from sequential file.

FileVar specifies the file descriptor of the file opened for sequential access.

Statements conditional jBASE BASIC statements


Each WRITESEQ writes the data on a line of the sequentially opened file. Each data is suffixed with a new line character. After each WRITESEQ, the file pointer moves forward to the end of line. The WRITESEQF statement forces each data line to be flushed to the file when it is written. The APPEND option forces each WRITESEQ to advance to the end of the file before writing the next data line.

See also: OPENSEQ.

Go back to jBASE BASIC.

Was this article helpful?