Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Annotation of /trunk/doc/en/html/macro/command/str2int.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 214 - (hide annotations) (download) (as text)
Sat Oct 7 09:24:31 2006 UTC (17 years, 8 months ago) by yutakapon
Original Path: doc/trunk/en/html/macro/command/str2int.html
File MIME type: text/html
File size: 639 byte(s)
(none)

1 yutakapon 214 <HTML>
2     <HEAD>
3     <TITLE>str2int</TITLE>
4     <link rel="stylesheet" href="../../style.css" type="text/css">
5     </HEAD>
6     <BODY>
7    
8     <DIV ALIGN="left">
9     <FONT SIZE="+2">str2int</FONT><BR><BR>
10     </div>
11    
12     Format:
13     <UL>
14     <B>str2int &lt;intvar&gt; &lt;string&gt;</B>
15     </UL>
16     <P></P>
17    
18     Converts the &lt;string&gt; which represents a decimal number to its numeric value.
19     The value is returned in the integer variable &lt;intvar&gt;. If the string is converted successfully, the system variable "result" is set to 1. Otherwise, "result" is set to zero.
20     <P></P>
21    
22     <pre>
23     Example:
24     str2int val '123' val=123, result=1
25     str2int val '123abc' result=0
26     </pre>
27    
28     </BODY>
29     </HTML>
30    

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