Browse Subversion Repository
Contents of /trunk/doc/jp/html/macro/command/call.html
Parent Directory
| Revision Log
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=Shift_JIS"> |
6 |
<TITLE>call</TITLE> |
7 |
<link rel="stylesheet" href="../../style.css" type="text/css"> |
8 |
</HEAD> |
9 |
<BODY> |
10 |
|
11 |
|
12 |
<FONT SIZE="+2">call</FONT><BR><BR> |
13 |
|
14 |
形式: |
15 |
<UL> |
16 |
<B> |
17 |
call <label> |
18 |
</B> |
19 |
</UL><P></P> |
20 |
|
21 |
<pre> |
22 |
|
23 |
<label> 行から始まるサブルーチンをコールする。 |
24 |
|
25 |
例: |
26 |
<B>messagebox "I'm in main." "test"</B> ":sub" へ飛ぶ。 |
27 |
<B>call sub</B> |
28 |
<B>messagebox "Now I'm in main" "test"</B> |
29 |
<B>end</B> |
30 |
|
31 |
<B>:sub</B> サブルーチンの始まり。 |
32 |
<B>messagebox "Now I'm in sub" "test"</B> |
33 |
<B>return</B> メインルーチンへもどる。 |
34 |
|
35 |
</pre> |
36 |
|
37 |
|
38 |
</BODY> |
39 |
</HTML> |
|