Browse Subversion Repository
Annotation of /trunk/doc/en/html/macro/command/filecreate.html
Parent Directory
| Revision Log
1 |
yutakapon |
246 |
<HTML> |
2 |
|
|
<HEAD> |
3 |
|
|
<TITLE>filecreate</TITLE> |
4 |
|
|
<link rel="stylesheet" href="../../style.css" type="text/css"> |
5 |
|
|
</HEAD> |
6 |
|
|
<BODY> |
7 |
|
|
|
8 |
|
|
<DIV ALIGN="left"> |
9 |
|
|
<FONT SIZE="+2">filecreate</FONT><BR><BR> |
10 |
|
|
</div> |
11 |
|
|
|
12 |
|
|
Format: |
13 |
|
|
<UL> |
14 |
|
|
<B> |
15 |
|
|
filecreate <file handle> <filename> |
16 |
|
|
</B> |
17 |
|
|
</UL> |
18 |
|
|
<P></P> |
19 |
|
|
|
20 |
|
|
Creates and opens a new file specified by <filename>. |
21 |
|
|
The file pointer is set to the beginning of the file. If file <filename> already exists, its size is truncated to zero. If the file is successfully created and opened, the file handle is returned in the integer variable <file handle>. Otherwise, <file handle> is set to -1. |
22 |
|
|
<P></P> |
23 |
|
|
|
24 |
|
|
<pre> |
25 |
|
|
Example: |
26 |
|
|
filecreate fhandle 'data.dat' |
27 |
|
|
</pre> |
28 |
|
|
|
29 |
|
|
</BODY> |
30 |
|
|
</HTML> |
31 |
|
|
|
|