Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Contents of /trunk/doc/en/html/macro/command/filecreate.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 495 - (show annotations) (download) (as text)
Wed Jul 18 16:17:29 2007 UTC (16 years, 10 months ago) by maya
Original Path: doc/trunk/en/html/macro/command/filecreate.html
File MIME type: text/html
File size: 1069 byte(s)
いくつかのマクロで、渡されたファイル名が ':' で始まっている場合にエラーとならないことがある問題を修正した。

1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <HTML>
4 <HEAD>
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <TITLE>filecreate</TITLE>
7 <META http-equiv="Content-Style-Type" content="text/css">
8 <link rel="stylesheet" href="../../style.css" type="text/css">
9 </HEAD>
10 <BODY>
11
12 <DIV ALIGN="left">
13 <FONT SIZE="+2">filecreate</FONT><BR><BR>
14 </div>
15
16 Format:
17 <UL>
18 <B>
19 filecreate &lt;file handle&gt; &lt;filename&gt;
20 </B>
21 </UL>
22
23 <p>
24 Creates and opens a new file specified by &lt;filename&gt;.
25 </p>
26
27 <p>
28 The file pointer is set to the beginning of the file. If file &lt;filename&gt; already exists, its size is truncated to zero.</p>
29
30 <p>
31 If the file is successfully created and opened, the file handle is returned in the integer variable &lt;file handle&gt;. Otherwise, &lt;file handle&gt; is set to -1.
32 </p>
33
34 <p>
35 If the file is created successfully, the system variable "result" is set to 0. Otherwise, "result" is set to non-zero.
36 </p>
37
38 <pre>
39 Example:
40 filecreate fhandle 'data.dat'
41 </pre>
42
43 </BODY>
44 </HTML>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26