Skip to content

Read Write File Access

Paul Squires edited this page Oct 19, 2026 · 2 revisions

Home › File I/O Functions › Read Write (File Access)

Read Write (File Access)

Opens a Binary or Random file for both reading and writing, the default.

Syntax

Open filename As String For Binary Access Read Write As #filenum As Integer

Description

Specifier for the Access clause in the Open statement. Read Write specifies that the file is accessible for both input and output.

Remarks

Differences from QB

  • None known.

See also

Examples

See example at Access


Category: File I/O Functions
Kind: keyword


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally