Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Diff of /trunk/doc/en/html/macro/syntax/variables.html

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

revision 3226 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=iso-8859-1">  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6  <TITLE>Variables</TITLE>  <TITLE>Variables</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  <BODY>  <BODY>
11    
12  <h1>Variables</h1>  <h1>Variables</h1>
13    
14  <B>1) User variables</B>  <B>1) User variables</B>
15    
16  <p>  <p>
17  Defined by user. The type of a variable is determined when a value (integer or string) is assigned to it for the first time. Once the type of the variable is determined, values of a different type cannot be assigned to it.  Defined by user. The type of a variable is determined when a value (integer or string) is assigned to it for the first time. Once the type of the variable is determined, values of a different type cannot be assigned to it.
18  </p>  </p>
19    
20  <B>2) System variables</B>  <B>2) System variables</B>
21    
22  <p>  <p>
23  Each system variable has a predefined type and value. Used with particular commands.  Each system variable has a predefined type and value. Used with particular commands.
24  </p>  </p>
25    
26  <table border="2">  <table border="2">
27    <tr>    <tr>
28      <th>Variables</th>      <th>Variables</th>
29      <th>Type</th>      <th>Type</th>
30      <th>Initial value</th>      <th>Initial value</th>
31      <th>Related commands</th>      <th>Related commands</th>
32    </tr>    </tr>
33    <tr>    <tr>
34      <td>groupmatchstr1 ... groupmatchstr9</td>      <td>groupmatchstr1 ... groupmatchstr9</td>
35      <td>string</td>      <td>string</td>
36      <td>""</td>      <td>""</td>
37      <td><a href="../command/waitregex.html">waitregex</a></td>      <td><a href="../command/waitregex.html">waitregex</a></td>
38    </tr>    </tr>
39    <tr>    <tr>
40      <td>inputstr</td>      <td>inputstr</td>
41      <td>string</td>      <td>string</td>
42      <td>""</td>      <td>""</td>
43      <td><a href="../command/recvln.html">recvln</a>,      <td><a href="../command/recvln.html">recvln</a>,
44          <a href="../command/waitln.html">waitln</a>,          <a href="../command/waitln.html">waitln</a>,
45          <a href="../command/waitn.html">waitn</a>,          <a href="../command/waitn.html">waitn</a>,
46          <a href="../command/waitrecv.html">waitrecv</a>,          <a href="../command/waitrecv.html">waitrecv</a>,
47          <a href="../command/waitregex.html">waitregex</a>,          <a href="../command/waitregex.html">waitregex</a>,
48          <a href="../command/sprintf.html">sprintf</a>,          <a href="../command/sprintf.html">sprintf</a>,
49          <a href="../command/passwordbox.html">passwordbox</a>,          <a href="../command/passwordbox.html">passwordbox</a>,
50          <a href="../command/filenamebox.html">filenamebox</a>,          <a href="../command/filenamebox.html">filenamebox</a>,
51          <a href="../command/inputbox.html">inputbox</a></td>          <a href="../command/inputbox.html">inputbox</a></td>
52    </tr>    </tr>
53    <tr>    <tr>
54      <td>matchstr</td>      <td>matchstr</td>
55      <td>string</td>      <td>string</td>
56      <td>""</td>      <td>""</td>
57      <td><a href="../command/waitregex.html">waitregex</a></td>      <td><a href="../command/waitregex.html">waitregex</a></td>
58    </tr>    </tr>
59    <tr>    <tr>
60      <td>param2 ... param9</td>      <td>param2 ... param9</td>
61      <td>string</td>      <td>string</td>
62      <td>*1</td>      <td>*1</td>
63      <td>*1</td>      <td>*1</td>
64    </tr>    </tr>
65    <tr>    <tr>
66      <td>result</td>      <td>result</td>
67      <td>integer</td>      <td>integer</td>
68      <td>0</td>      <td>0</td>
69      <td><a href="../command/bplusrecv.html">bplusrecv</a>,      <td><a href="../command/bplusrecv.html">bplusrecv</a>,
70          <a href="../command/bplussend.html">bplussend</a>,          <a href="../command/bplussend.html">bplussend</a>,
71          <a href="../command/connect.html">connect</a>,          <a href="../command/connect.html">connect</a>,
72          <a href="../command/cygconnect.html">cygconnect</a>,          <a href="../command/cygconnect.html">cygconnect</a>,
73          <a href="../command/kmtfinish.html">kmtfinish</a>,          <a href="../command/kmtfinish.html">kmtfinish</a>,
74          <a href="../command/kmtget.html">kmtget</a>,          <a href="../command/kmtget.html">kmtget</a>,
75          <a href="../command/kmtrecv.html">kmtrecv</a>,          <a href="../command/kmtrecv.html">kmtrecv</a>,
76          <a href="../command/kmtsend.html">kmtsend</a>,          <a href="../command/kmtsend.html">kmtsend</a>,
77          <a href="../command/logopen.html">logopen</a>,          <a href="../command/logopen.html">logopen</a>,
78          <a href="../command/quickvanrecv.html">quickvanrecv</a>,          <a href="../command/quickvanrecv.html">quickvanrecv</a>,
79          <a href="../command/quickvansend.html">quickvansend</a>,          <a href="../command/quickvansend.html">quickvansend</a>,
80          <a href="../command/recvln.html">recvln</a>,          <a href="../command/recvln.html">recvln</a>,
81          <a href="../command/testlink.html">testlink</a>,          <a href="../command/testlink.html">testlink</a>,
82          <a href="../command/wait.html">wait</a>,          <a href="../command/wait.html">wait</a>,
83          <a href="../command/waitevent.html">waitevent</a>,          <a href="../command/waitevent.html">waitevent</a>,
84          <a href="../command/waitln.html">waitln</a>,          <a href="../command/waitln.html">waitln</a>,
85          <a href="../command/waitn.html">waitn</a>,          <a href="../command/waitn.html">waitn</a>,
86          <a href="../command/waitrecv.html">waitrecv</a>,          <a href="../command/waitrecv.html">waitrecv</a>,
87          <a href="../command/waitregex.html">waitregex</a>,          <a href="../command/waitregex.html">waitregex</a>,
88          <a href="../command/xmodemrecv.html">xmodemrecv</a>,          <a href="../command/xmodemrecv.html">xmodemrecv</a>,
89          <a href="../command/xmodemsend.html">xmodemsend</a>,          <a href="../command/xmodemsend.html">xmodemsend</a>,
90          <a href="../command/zmodemrecv.html">zmodemrecv</a>,          <a href="../command/zmodemrecv.html">zmodemrecv</a>,
91          <a href="../command/zmodemsend.html">zmodemsend</a>,          <a href="../command/zmodemsend.html">zmodemsend</a>,
92          <a href="../command/sprintf.html">sprintf</a>,          <a href="../command/sprintf.html">sprintf</a>,
93          <a href="../command/str2int.html">str2int</a>,          <a href="../command/str2int.html">str2int</a>,
94          <a href="../command/strcompare.html">strcompare</a>,          <a href="../command/strcompare.html">strcompare</a>,
95          <a href="../command/strlen.html">strlen</a>,          <a href="../command/strlen.html">strlen</a>,
96          <a href="../command/strmatch.html">strmatch</a>,          <a href="../command/strmatch.html">strmatch</a>,
97          <a href="../command/strscan.html">strscan</a>,          <a href="../command/strscan.html">strscan</a>,
98          <a href="../command/fileconcat.html">fileconcat</a>,          <a href="../command/fileconcat.html">fileconcat</a>,
99          <a href="../command/filecopy.html">filecopy</a>,          <a href="../command/filecopy.html">filecopy</a>,
100          <a href="../command/filecreate.html">filecreate</a>,          <a href="../command/filecreate.html">filecreate</a>,
101          <a href="../command/filedelete.html">filedelete</a>,          <a href="../command/filedelete.html">filedelete</a>,
102          <a href="../command/fileread.html">fileread</a>,          <a href="../command/fileread.html">fileread</a>,
103          <a href="../command/filereadln.html">filereadln</a>,          <a href="../command/filereadln.html">filereadln</a>,
104          <a href="../command/filerename.html">filerename</a>,          <a href="../command/filerename.html">filerename</a>,
105          <a href="../command/filesearch.html">filesearch</a>,          <a href="../command/filesearch.html">filesearch</a>,
106          <a href="../command/filestrseek.html">filestrseek</a>,          <a href="../command/filestrseek.html">filestrseek</a>,
107          <a href="../command/filestrseek2.html">filestrseek2</a>,          <a href="../command/filestrseek2.html">filestrseek2</a>,
108          <a href="../command/findoperations.html">findfirst</a>,          <a href="../command/findoperations.html">findfirst</a>,
109          <a href="../command/findoperations.html">findnext</a>,          <a href="../command/findoperations.html">findnext</a>,
110          <a href="../command/clipb2var.html">clipb2var</a>,          <a href="../command/clipb2var.html">clipb2var</a>,
111          <a href="../command/crc32.html">crc32file</a>,          <a href="../command/crc32.html">crc32file</a>,
112          <a href="../command/getdate.html">getdate</a>,          <a href="../command/getdate.html">getdate</a>,
113          <a href="../command/gettime.html">gettime</a>,          <a href="../command/gettime.html">gettime</a>,
114          <a href="../command/getver.html">getver</a>,          <a href="../command/getver.html">getver</a>,
115          <a href="../command/ifdefined.html">ifdefined</a>,          <a href="../command/ifdefined.html">ifdefined</a>,
116          <a href="../command/var2clipb.html">var2clipb</a>,          <a href="../command/var2clipb.html">var2clipb</a>,
117          <a href="../command/yesnobox.html">yesnobox</a></td>          <a href="../command/yesnobox.html">yesnobox</a></td>
118    </tr>    </tr>
119    <tr>    <tr>
120      <td>timeout</td>      <td>timeout</td>
121      <td>integer</td>      <td>integer</td>
122      <td>0</td>      <td>0</td>
123      <td><a href="../command/recvln.html">recvln</a>,      <td><a href="../command/recvln.html">recvln</a>,
124          <a href="../command/wait.html">wait</a>,          <a href="../command/wait.html">wait</a>,
125          <a href="../command/waitevent.html">waitevent</a>,          <a href="../command/waitevent.html">waitevent</a>,
126          <a href="../command/waitln.html">waitln</a>,          <a href="../command/waitln.html">waitln</a>,
127          <a href="../command/waitrecv.html">waitrecv</a>,          <a href="../command/waitrecv.html">waitrecv</a>,
128          <a href="../command/waitregex.html">waitregex</a></td>          <a href="../command/waitregex.html">waitregex</a></td>
129    </tr>    </tr>
130    <tr>    <tr>
131      <td>mtimeout *2</td>      <td>mtimeout *2</td>
132      <td>integer</td>      <td>integer</td>
133      <td>0</td>      <td>0</td>
134      <td><a href="../command/recvln.html">recvln</a>,      <td><a href="../command/recvln.html">recvln</a>,
135          <a href="../command/wait.html">wait</a>,          <a href="../command/wait.html">wait</a>,
136          <a href="../command/waitevent.html">waitevent</a>,          <a href="../command/waitevent.html">waitevent</a>,
137          <a href="../command/waitn.html">waitn</a>,          <a href="../command/waitn.html">waitn</a>,
138          <a href="../command/waitln.html">waitln</a>,          <a href="../command/waitln.html">waitln</a>,
139          <a href="../command/waitrecv.html">waitrecv</a>,          <a href="../command/waitrecv.html">waitrecv</a>,
140          <a href="../command/waitregex.html">waitregex</a></td>          <a href="../command/waitregex.html">waitregex</a></td>
141    </tr>    </tr>
142  </table>  </table>
143    
144  <p>  <p>
145  *1 The second to ninth command line parameter of MACRO. The first parameter is the macro file name. See "<A HREF="../commandline.html">Command line</A>".<br>  *1 The second to ninth command line parameter of MACRO. The first parameter is the macro file name. See "<A HREF="../commandline.html">Command line</A>".<br>
146  *2 Precision is about 50 msec.  *2 Precision is about 50 msec.
147  </p>  </p>
148    
149  </BODY>  </BODY>
150  </HTML>  </HTML>

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

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