Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Diff of /trunk/doc/en/html/macro/command/strcopy.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>strcopy</title>    <title>strcopy</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>strcopy</h1>  <h1>strcopy</h1>
15    
16  <p>  <p>
17  Copies a string.  Copies a string.
18  </p>  </p>
19    
20  <h2>Format</h2>  <h2>Format</h2>
21    
22  <pre class="macro-syntax">  <pre class="macro-syntax">
23  strcopy &lt;string&gt; &lt;pos&gt; &lt;len&gt; &lt;strvar&gt;  strcopy &lt;string&gt; &lt;pos&gt; &lt;len&gt; &lt;strvar&gt;
24  </pre>  </pre>
25    
26  <h2>Remarks</h2>  <h2>Remarks</h2>
27    
28  <p>  <p>
29  Copies a substring of &lt;string&gt; to the string variable &lt;strvar&gt;.  Copies a substring of &lt;string&gt; to the string variable &lt;strvar&gt;.
30  The substring begings at the &lt;pos&gt;th character in &lt;string&gt;, and its length is &lt;len&gt;.  The substring begings at the &lt;pos&gt;th character in &lt;string&gt;, and its length is &lt;len&gt;.
31  </p>  </p>
32    
33  <h2>Example</h2>  <h2>Example</h2>
34    
35  <pre class="macro-example">  <pre class="macro-example">
36  strcopy 'tera term' 6 4 substr  strcopy 'tera term' 6 4 substr
37  ; substr='term'  ; substr='term'
38  </pre>  </pre>
39    
40  </body>  </body>
41  </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