Revision history for KeyPgOutput


Revision [21072]

Last edited on 2016-03-13 08:59:02 by fxm [Formatting]

No Differences

Revision [20433]

Edited on 2016-02-10 16:06:16 by DkLwikki [Update link format]
Additions:
[[KeyPgOpen|open]] //filename// for **Output** [[[KeyPgEncoding|encoding]] //encoding_type//] [[[KeyPgLock|lock]] //lock_type//] as [#]//filenum//
A file mode used with ##[[KeyPgOpen|Open]]## to open a text file for writing.
This mode is used to write text with ##[[KeyPgPrintPp|Print #]]##, or comma separated values with ##[[KeyPgWrite|Write #]]##.
##//Encoding_type//## indicates the Unicode ##[[KeyPgEncoding|Encoding]]## of the file, so characters are correctly read. If omitted, "ascii" encoding is defaulted. Only little endian character encodings are supported at the moment.
##//filenum//## Is a valid ""FreeBASIC"" file number (in the range ##1..255##) not being used for any other file presently open. The file number identifies the file for the rest of file operations. A free file number can be found using the ##[[KeyPgFreefile|Freefile]]## function.
- ##[[KeyPgAppend|Append]]##
- ##[[KeyPgInputfilemode|Input (File Mode)]]##
- ##[[KeyPgOpen|Open]]##
Deletions:
[[KeyPgOpen open]] //filename// for **Output** [[[KeyPgEncoding encoding]] //encoding_type//] [[[KeyPgLock lock]] //lock_type//] as [#]//filenum//
A file mode used with ##[[KeyPgOpen Open]]## to open a text file for writing.
This mode is used to write text with ##[[KeyPgPrintPp Print #]]##, or comma separated values with ##[[KeyPgWrite Write #]]##.
##//Encoding_type//## indicates the Unicode ##[[KeyPgEncoding Encoding]]## of the file, so characters are correctly read. If omitted, "ascii" encoding is defaulted. Only little endian character encodings are supported at the moment.
##//filenum//## Is a valid ""FreeBASIC"" file number (in the range ##1..255##) not being used for any other file presently open. The file number identifies the file for the rest of file operations. A free file number can be found using the ##[[KeyPgFreefile Freefile]]## function.
- ##[[KeyPgAppend Append]]##
- ##[[KeyPgInputfilemode Input (File Mode)]]##
- ##[[KeyPgOpen Open]]##


Revision [15903]

Edited on 2012-02-01 15:16:46 by CountingPine [""FreeBASIC""]
Additions:
##//filenum//## Is a valid ""FreeBASIC"" file number (in the range ##1..255##) not being used for any other file presently open. The file number identifies the file for the rest of file operations. A free file number can be found using the ##[[KeyPgFreefile Freefile]]## function.
Deletions:
##//filenum//## Is a valid FreeBASIC file number (in the range ##1..255##) not being used for any other file presently open. The file number identifies the file for the rest of file operations. A free file number can be found using the ##[[KeyPgFreefile Freefile]]## function.


Revision [13830]

Edited on 2008-10-30 18:16:48 by CountingPine [Formatting]
Additions:
Text files can't be simultaneously read and written in ""FreeBASIC"", so if both functions are required on the same file, it must be opened twice.
-##"utf8"##
-##"utf16"##
-##"utf32"##
-##"ascii"## (the default)
- ##**Read**## - the file can be opened simultaneously by other processes, but not for reading
- ##**Write**## - the file can be opened simultaneously by other processes, but not for writing
- ##**Read Write**## - the file cannot be opened simultaneously by other processes (the default)
##//filenum//## Is a valid FreeBASIC file number (in the range ##1..255##) not being used for any other file presently open. The file number identifies the file for the rest of file operations. A free file number can be found using the ##[[KeyPgFreefile Freefile]]## function.
Deletions:
Text files can't be simultaneously read and written in FreeBASIC, so if both functions are required on the same file, it must be opened twice.
-"utf8",
-"utf16"
-"utf32"
-"ascii" (the default)
- **Read** - the file can be opened simultaneously by other processes, but not for reading
- **Write** - the file can be opened simultaneously by other processes, but not for writing
- **Read Write** - the file cannot be opened simultaneously by other processes (the default)
##//filenum//## Is a valid FreeBASIC file number (in the range 1-255) not being used for any other file presently open. The file number identifies the file for the rest of file operations. A free file number can be found using the ##[[KeyPgFreefile Freefile]]## function.
-


Revision [11582]

The oldest known version of this page was created on 2007-11-10 03:13:16 by JeffMarshall [Formatting]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode