Revision history for KeyPgOpenErr


Revision [21757]

Last edited on 2017-05-25 00:12:21 by fxm [Typo]
Additions:
**[[KeyPgOpen|Open]] Err** [for //mode//] [[KeyPgAs|as]] [#]//filenumber// [[KeyPgAs|as]] [[KeyPgLong|long]]
**Open Err** [for //mode//] as [#]//filenumber//
//result// = **Open Err**( [for //mode//[,]] as [#]//filenumber// )
##//filenumber//##
Deletions:
**[[KeyPgOpen|Open]] Err** [for //mode//] [[KeyPgAs|as]] [#]//filenum// [[KeyPgAs|as]] [[KeyPgLong|long]]
**Open Err** [for //mode//] as [#]//filenum//
//result// = **Open Err**( [for //mode//[,]] as [#]//filenum// )
##//filenum//##


Revision [21539]

Edited on 2016-08-13 09:31:23 by fxm [Corrected bad referring to 'Open']
Additions:
The error code returned by ##**Open Err**## can be checked using ##[[KeyPgErr|Err]]## in the next line. The function version of ##**Open Err**## returns directly the error code as a 32 bit ##[[KeyPgLong|Long]]##.
Deletions:
The error code returned by ##**Open Err**## can be checked using ##[[KeyPgErr|Err]]## in the next line. The function version of ##**Open**## returns directly the error code as a 32 bit ##[[KeyPgLong|Long]]##.


Revision [21330]

Edited on 2016-04-06 03:36:13 by fxm [The error code returned can also be checked using Err()]
Additions:
The error code returned by ##**Open Err**## can be checked using ##[[KeyPgErr|Err]]## in the next line. The function version of ##**Open**## returns directly the error code as a 32 bit ##[[KeyPgLong|Long]]##.


Revision [21312]

Edited on 2016-04-03 16:35:41 by fxm [Open Err() returns a 32 bit Long]
Additions:
A 32 bit ##[[KeyPgLong|Long]]##: a zero is returned if ##**Open Err()**## completed successfully, otherwise a non-zero value is returned to indicate failure.
Deletions:
a 32 bit ##[[KeyPgLong|Long]]##: a zero is returned if ##**Open Err()**## completed successfully, otherwise a non-zero value is returned to indicate failure.


Revision [21310]

Edited on 2016-04-03 16:30:37 by fxm [Open Err() returns a 32 bit Long]
Additions:
a 32 bit ##[[KeyPgLong|Long]]##: a zero is returned if ##**Open Err()**## completed successfully, otherwise a non-zero value is returned to indicate failure.
Deletions:
Zero is returned if ##**Open Err**## completed successfully, otherwise a non-zero value is returned to indicate failure.


Revision [21254]

Edited on 2016-03-14 10:00:09 by fxm [Formatting]
Additions:
//(##1##) Illegal function call//
- ##//Filenumber//## was not free at the time. use ##[[KeyPgFreefile|Freefile]]## to ensure that ##//filenumber//## is free.
Deletions:
//(##1##) Illegal function call//
##//Filenumber//## was not free at the time. use ##[[KeyPgFreefile|Freefile]]## to ensure that ##//filenumber//## is free.


Revision [21025]

Edited on 2016-03-13 05:45:11 by fxm [Formatting]
Additions:
##**Open Err**## throws one of the following [[ProPgErrorHandling|runtime errors]]:
//(##1##) Illegal function call//
##//Filenumber//## was not free at the time. use ##[[KeyPgFreefile|Freefile]]## to ensure that ##//filenumber//## is free.
Deletions:
##**Open Err**## throws one of the following [[ProPgErrorHandling|runtime errors]]:
//(##1##) Illegal function call//
- ##//Filenumber//## was not free at the time. use ##[[KeyPgFreefile|Freefile]]## to ensure that ##//filenumber//## is free.


Revision [20375]

Edited on 2016-02-10 16:04:21 by DkLwikki [Update link format]
Additions:
**[[KeyPgOpen|Open]] Err** [for //mode//] [[KeyPgAs|as]] [#]//filenum// [[KeyPgAs|as]] [[KeyPgLong|long]]
The normal console commands, such as ##[[KeyPgColor|Color]]## and ##[[KeyPgLocate|Locate]]##, do not work in this mode, because they do not accept a file number.
##**Open Err**## throws one of the following [[ProPgErrorHandling|runtime errors]]:
- ##//Filenumber//## was not free at the time. use ##[[KeyPgFreefile|Freefile]]## to ensure that ##//filenumber//## is free.
- ##[[KeyPgOpen|Open]]##
Deletions:
**[[KeyPgOpen Open]] Err** [for //mode//] [[KeyPgAs as]] [#]//filenum// [[KeyPgAs as]] [[KeyPgLong long]]
The normal console commands, such as ##[[KeyPgColor Color]]## and ##[[KeyPgLocate Locate]]##, do not work in this mode, because they do not accept a file number.
##**Open Err**## throws one of the following [[ProPgErrorHandling runtime errors]]:
- ##//Filenumber//## was not free at the time. use ##[[KeyPgFreefile Freefile]]## to ensure that ##//filenumber//## is free.
- ##[[KeyPgOpen Open]]##


Revision [17580]

Edited on 2015-04-04 06:44:39 by FxMwikki [In function version of OPEN ERR, a comma is not mandatory to separate fields]
Additions:
//result// = **Open Err**( [for //mode//[,]] as [#]//filenum// )
Deletions:
//result// = **Open Err**( [for //mode//] as [#]//filenum// )


Revision [17525]

Edited on 2015-04-01 12:24:24 by DkLwikki [integer => long]
Additions:
**[[KeyPgOpen Open]] Err** [for //mode//] [[KeyPgAs as]] [#]//filenum// [[KeyPgAs as]] [[KeyPgLong long]]
Deletions:
**[[KeyPgOpen Open]] Err** [for //mode//] [[KeyPgAs as]] [#]//filenum// [[KeyPgAs as]] [[KeyPgInteger integer]]


Revision [15899]

Edited on 2012-02-01 15:02:30 by CountingPine [Formatting]
Additions:
- ##//Filenumber//## was not free at the time. use ##[[KeyPgFreefile Freefile]]## to ensure that ##//filenumber//## is free.
Deletions:
- Filenumber was not free at the time. use ##[[KeyPgFreefile Freefile]]## to ensure that filenumber is free.


Revision [15614]

Edited on 2012-01-05 13:12:22 by DkLwikki [Fix formatting]

No Differences

Revision [14478]

Edited on 2009-08-29 23:14:38 by CountingPine [Fix formatting]
Additions:
- New to ""FreeBASIC""
Deletions:
-New to ""FreeBASIC""


Revision [14405]

Edited on 2009-08-29 21:55:56 by CountingPine [Remove CamelCase links in "New to FreeBASIC"]
Additions:
-New to ""FreeBASIC""
Deletions:
-New to FreeBASIC


Revision [13639]

Edited on 2008-08-02 08:23:43 by LaananFisher [fixed: stdout -> stderr]
Additions:
Opens both the standard input (//stdin//) and standard error (//stderr//) streams for file operations.
Deletions:
Opens both standard input (//stdin//) and standard error output (//stdout//) streams for file operations.


Revision [13638]

Edited on 2008-07-31 09:13:15 by AntoniGual [fixed: stdout -> stderr]
Additions:
Opens both standard input (//stdin//) and standard error output (//stdout//) streams for file operations.
##stderr## is an output stream different from ##stdout## allowing error messages to be redirected separately from the main console output.
Deletions:
Opens standard input and standard error as a file.


Revision [13363]

The oldest known version of this page was created on 2008-05-11 15:36:50 by NkKkan [fixed: stdout -> stderr]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode