Develop and Download Open Source Software

Browse Subversion Repository

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8939 - (show annotations) (download) (as text)
Thu Oct 1 16:06:58 2020 UTC (3 years, 7 months ago) by nmaya
File MIME type: text/html
File size: 1213 byte(s)
マクロコマンドが Tera Term バージョンいくつから存在するか、それぞれのマクロコマンドのヘルプページに記載

ticket #40808
MFT to: 4-stable
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>fileunlock</title>
7 <meta http-equiv="Content-Style-Type" content="text/css">
8 <link rel="stylesheet" href="../../style.css" type="text/css">
9 </head>
10
11 <body>
12
13
14 <h1>fileunlock</h1>
15
16 <p>
17 Unlocks the specified file. <em>(version 4.74 or later)</em>
18 </p>
19
20 <pre class="macro-syntax">
21 fileunlock &lt;file handle&gt;
22 </pre>
23
24 <h2>Remarks</h2>
25
26 <p>
27 Unlocks the specified whole file. Unlocking a file enables other processes
28 to access the file.
29 </p>
30
31 <p>
32 If the function succeeds, the system variable "result" is set to 0.<br>
33 If the function fails, the system variable "result" is set to 1.
34 </p>
35
36
37 <h2>Examples</h2>
38
39 <pre class="macro-example">
40 fileopen fhandle 'test.txt' 0
41 filelock fhandle
42 if result!=0 then
43 messagebox 'error' 'hoge'
44 endif
45 filewrite fhandle 'sample'
46 pause 60
47 fileunlock fhandle
48 if result!=0 then
49 messagebox 'error' 'hoge'
50 endif
51 fileclose fhandle
52 </pre>
53
54 <h2>See also</h2>
55 <ul>
56 <li><a href="filelock.html">filelock</a></li>
57 </ul>
58
59 </body>
60 </html>

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