Skip to content

OPEN CONS


Opens the console's standard input (stdin) or output (stdout) streams, using it as if it were file operations.

Syntax

vb
Open Cons As [#]filenumber
Open Cons For Input As [#]filenumber
Open Cons For Output As [#]filenumber

Usage

` result = Open Cons( [For {Input|Output}[,]] As filenumber )

*(or using the QB-like syntax*,) `

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft