OPEN CONS
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgOpenCons
- Last revised: 2023-06-24
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 [#]filenumberUsage
` result = Open Cons( [For {Input|Output}[,]] As filenumber )
*(or using the QB-like syntax*,) `