Browse Subversion Repository
Diff of /trunk/doc/jp/html/macro/command/gethostname.html
Parent Directory
| Revision Log
| Patch
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
2 |
"http://www.w3.org/TR/html4/strict.dtd"> |
"http://www.w3.org/TR/html4/strict.dtd"> |
3 |
<html> |
<html> |
4 |
<head> |
<head> |
5 |
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> |
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> |
6 |
<title>gethostname</title> |
<title>gethostname</title> |
7 |
<meta http-equiv="Content-Style-Type" content="text/css"> |
<meta http-equiv="Content-Style-Type" content="text/css"> |
8 |
<link rel="stylesheet" href="../../style.css" type="text/css"> |
<link rel="stylesheet" href="../../style.css" type="text/css"> |
9 |
</head> |
</head> |
10 |
|
|
11 |
<body> |
<body> |
12 |
|
|
13 |
|
|
14 |
<h1>gethostname</h1> |
<h1>gethostname</h1> |
15 |
|
|
16 |
<p> |
<p> |
17 |
ホスト名を得る。 |
ホスト名を得る。 |
18 |
</p> |
</p> |
19 |
|
|
20 |
<pre class="macro-syntax"> |
<pre class="macro-syntax"> |
21 |
gethostname <strvar> |
gethostname <strvar> |
22 |
</pre> |
</pre> |
23 |
|
|
24 |
<h2>解説</h2> |
<h2>解説</h2> |
25 |
|
|
26 |
<p> |
<p> |
27 |
Tera Term が接続しているホスト名を文字列変数 <strvar> に格納する。 |
Tera Term が接続しているホスト名を文字列変数 <strvar> に格納する。 |
28 |
</p> |
</p> |
29 |
|
|
30 |
<h2>例</h2> |
<h2>例</h2> |
31 |
|
|
32 |
<pre class="macro-example"> |
<pre class="macro-example"> |
33 |
testlink |
testlink |
34 |
if result > 0 then |
if result > 0 then |
35 |
gethostname hostname |
gethostname hostname |
36 |
messagebox hostname result |
messagebox hostname result |
37 |
end if |
end if |
38 |
</pre> |
</pre> |
39 |
|
|
40 |
</body> |
</body> |
41 |
</html> |
</html> |
|
Legend:
Removed from v.3226 |
|
changed lines |
|
Added in v.3227 |
|
|
|