generated docs added
This commit is contained in:
134
doc/doc_files/openfile.html
Normal file
134
doc/doc_files/openfile.html
Normal file
@@ -0,0 +1,134 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
table, th, td { border: 1px solid black; } th, td { padding: 10px; }
|
||||
body { background-color: #064066; color: #FFFFFF; }
|
||||
a { color: #40bfb8; }
|
||||
a::before {
|
||||
content: "---";
|
||||
font-family: monospace, monospace;
|
||||
display: inline-block;
|
||||
margin-right: 6px;
|
||||
color: #064066;
|
||||
}
|
||||
|
||||
.rc_number { color: #0b9898; }
|
||||
.rc_string { color: #dd4040; }
|
||||
.rc_keyword { color: #6084a8; font-weight: bold; }
|
||||
.rc_comment { color: #6e716e; }
|
||||
#rc_code { font-family: Consolas,"courier new"; background-color: #2d3335; padding: 2px; font-size: 105%; }
|
||||
|
||||
|
||||
ul, #myUL {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#myUL {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.box {
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none; /* Safari 3.1+ */
|
||||
-moz-user-select: none; /* Firefox 2+ */
|
||||
-ms-user-select: none; /* IE 10+ */
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.box::before {
|
||||
content: "[+]";
|
||||
font-family: monospace, monospace;
|
||||
font-weight: bold;
|
||||
color: #40bfb8;
|
||||
display: inline-block;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.box {
|
||||
font-weight: bold;
|
||||
color: #40bfb8;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.check-box::before {
|
||||
content: "[-]";
|
||||
font-family: monospace, monospace;
|
||||
font-weight: bold;
|
||||
//color: dodgerblue;
|
||||
color: #40bfb8;
|
||||
}
|
||||
|
||||
.nested {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>OpenFile [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h1>function OpenFile(fileName$, mode) </h1></p>
|
||||
<p>
|
||||
Returns an ID for an open file to read or write.
|
||||
</p>
|
||||
<p>
|
||||
Returns -1 if the file could not be opened.
|
||||
</p>
|
||||
<p>
|
||||
Possible Text Modes
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
TEXT_INPUT - Open a file for reading text. The file must already exist.
|
||||
</li>
|
||||
<li>
|
||||
TEXT_OUTPUT - Open a new file for writing text. If the file already exist it will be overwritten.
|
||||
</li>
|
||||
<li>
|
||||
TEXT_APPEND - Opens a file for appending text to the end of the file. A file will be created if it doesn't already exist.
|
||||
</li>
|
||||
<li>
|
||||
TEXT_INPUT_PLUS - Opens a file for reading and writing text. The file must already exist.
|
||||
</li>
|
||||
<li>
|
||||
TEXT_OUTPUT_PLUS - Opens a file for both reading and writing. If the file already exist it will be overwritten.
|
||||
</li>
|
||||
<li>
|
||||
TEXT_APPEND_PLUS - Opens a file for reading and appending text to the end of the file.
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<br> Possible Binary Modes
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
BINARY_INPUT - Open a file for reading binary data. The file must already exist.
|
||||
</li>
|
||||
<li>
|
||||
BINARY_OUTPUT - Open a new file for writing binary data. If the file already exist it will be overwritten.
|
||||
</li>
|
||||
<li>
|
||||
BINARY_APPEND - Opens a file for appending binary data to the end of the file. A file will be created if it doesn't already exist.
|
||||
</li>
|
||||
<li>
|
||||
BINARY_INPUT_PLUS - Opens a file for reading and writing binary data. The file must already exist.
|
||||
</li>
|
||||
<li>
|
||||
BINARY_OUTPUT_PLUS - Opens a file for both reading and writing. If the file already exist it will be overwritten.
|
||||
</li>
|
||||
<li>
|
||||
BINARY_APPEND_PLUS - Opens a file for reading and appending binary data to the end of the file.
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user