Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Annotation of /trunk/doc/jp/html/macro/command/execcmnd.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1028 - (hide annotations) (download) (as text)
Sun Oct 19 14:16:55 2008 UTC (15 years, 7 months ago) by yutakapon
Original Path: doc/trunk/jp/html/macro/command/execcmnd.html
File MIME type: text/html
File size: 1286 byte(s)
*** empty log message ***

1 taketombo 336 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2     "http://www.w3.org/TR/html4/strict.dtd">
3 maya 560 <html>
4     <head>
5     <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
6     <title>execcmnd</title>
7     <meta http-equiv="Content-Style-Type" content="text/css">
8     <link rel="stylesheet" href="../../style.css" type="text/css">
9     </head>
10 taketombo 336
11 maya 560 <body>
12 taketombo 336
13    
14 maya 560 <h1>execcmnd</h1>
15 taketombo 336
16 maya 560 <p>
17     TTL コマンド を実行する。
18     </p>
19 taketombo 336
20 maya 560 <pre class="macro-syntax">
21 doda 847 execcmnd &lt;statement&gt;
22 maya 560 </pre>
23 taketombo 336
24 maya 560 <h2>解説</h2>
25 taketombo 336
26 maya 560 <p>
27     文字列 &lt;statement&gt; が表現する TTL コマンド を実行する。
28     </p>
29 taketombo 336
30 maya 560 <h2></h2>
31 taketombo 336
32 maya 560 <pre class="macro-example">
33 yutakapon 1028 <code>
34     ; コマンド "send 'abc'" を実行。
35 maya 560 execcmnd "send 'abc'"
36 yutakapon 1028 ; 変数aに1を代入する
37 maya 560 execcmnd "a=1"
38     </code></pre>
39 taketombo 336
40 yutakapon 1028 <pre class="macro-example">
41     <code>
42     for x 1 10 ;creates variables arr1 thru arr10 and assigns them 1 thru 10
43     tmp='arr'
44     int2str ix x
45     strconcat tmp ix
46     strconcat tmp '='
47     strconcat tmp ix
48     execcmnd tmp
49     next
50    
51     messagebox arr1 'variable1'
52     messagebox arr2 'variable2'
53     messagebox arr3 'variable3'
54     messagebox arr4 'variable4'
55     messagebox arr5 'variable5'
56     messagebox arr6 'variable6'
57     messagebox arr7 'variable7'
58     messagebox arr8 'variable8'
59     messagebox arr9 'variable9'
60     messagebox arr10 'variable10'
61     messagebox arr11 'variable11' ; syntax error
62     </code></pre>
63    
64 maya 560 </body>
65     </html>

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