Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Diff of /trunk/doc/jp/html/macro/command/call.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3221 by maya, Tue Mar 24 09:37:20 2009 UTC revision 3227 by maya, Tue Mar 24 15:10:33 2009 UTC
# Line 1  Line 1 
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>call</title>    <title>call</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>call</h1>  <h1>call</h1>
15    
16  <p>  <p>
17  サブルーチンをコールする。  サブルーチンをコールする。
18  </p>  </p>
19    
20  <pre class="macro-syntax">  <pre class="macro-syntax">
21  call &lt;label&gt;  call &lt;label&gt;
22  </pre>  </pre>
23    
24  <h2>解説</h2>  <h2>解説</h2>
25    
26  <p>  <p>
27  &lt;label&gt; 行から始まるサブルーチンをコールする。  &lt;label&gt; 行から始まるサブルーチンをコールする。
28  </p>  </p>
29    
30  <h2>例</h2>  <h2>例</h2>
31    
32  <pre class="macro-example">  <pre class="macro-example">
33  messagebox "I'm in main." "test"  messagebox "I'm in main." "test"
34  ; ":sub" へ飛ぶ。  ; ":sub" へ飛ぶ。
35  <strong>call sub</strong>  <strong>call sub</strong>
36  messagebox "Now I'm in main" "test"  messagebox "Now I'm in main" "test"
37  end  end
38    
39  ; サブルーチンの始まり。  ; サブルーチンの始まり。
40  :sub  :sub
41  messagebox "Now I'm in sub" "test"  messagebox "Now I'm in sub" "test"
42  ; メインルーチンへもどる。  ; メインルーチンへもどる。
43  return  return
44  </pre>  </pre>
45    
46  </body>  </body>
47  </html>  </html>

Legend:
Removed from v.3221  
changed lines
  Added in v.3227

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