[Ttssh2-commit] [5004] int2str が実質 sprintf と機能が同じであることを明記した。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2012年 8月 29日 (水) 20:59:41 JST


Revision: 5004
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5004
Author:   yutakapon
Date:     2012-08-29 20:59:41 +0900 (Wed, 29 Aug 2012)
Log Message:
-----------
int2str が実質 sprintf と機能が同じであることを明記した。

Modified Paths:
--------------
    trunk/doc/en/html/macro/command/int2str.html
    trunk/doc/ja/html/macro/command/int2str.html

-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/int2str.html
===================================================================
--- trunk/doc/en/html/macro/command/int2str.html	2012-08-29 11:34:36 UTC (rev 5003)
+++ trunk/doc/en/html/macro/command/int2str.html	2012-08-29 11:59:41 UTC (rev 5004)
@@ -24,7 +24,8 @@
 <h2>Remarks</h2>
 
 <p>
-Converts &lt;integer value&gt; to its string expression, and returns it in the string variable &lt;strvar&gt;.
+Converts &lt;integer value&gt; to its string expression, and returns it in the string variable &lt;strvar&gt;.<br>
+This command is equal to the formatted output("%d") of the sprintf family.
 </p>
 
 <h2>Example</h2>
@@ -32,7 +33,19 @@
 <pre class="macro-example">
 ; The string "123" is assigned to the variable "valstr".
 int2str valstr 123
+messagebox valstr "str"     ; 123
+
+num = 123
+sprintf2 valstr "%d" num
+messagebox valstr "str"     ; 123
 </pre>
 
+<h2>See also</h2>
+
+<ul>
+ <li>"<a href="sprintf.html">sprintf</a>"</li>
+ <li>"<a href="sprintf2.html">sprintf2</a>"</li>
+</ul>
+
 </body>
 </html>

Modified: trunk/doc/ja/html/macro/command/int2str.html
===================================================================
--- trunk/doc/ja/html/macro/command/int2str.html	2012-08-29 11:34:36 UTC (rev 5003)
+++ trunk/doc/ja/html/macro/command/int2str.html	2012-08-29 11:59:41 UTC (rev 5004)
@@ -24,7 +24,8 @@
 <h2>\x89\xF0\x90\xE0</h2>
 
 <p>
-\x90\xAE\x90\x94\x92l &lt;integer value&gt; \x82\xF010\x90i\x95\\x8C\xBB\x82̕\xB6\x8E\x9A\x97\xF1\x82ɕϊ\xB7\x82\xB5\x82ĕ\xB6\x8E\x9A\x97\xF1\x8C^\x95ϐ\x94 &lt;strvar&gt; \x82ɑ\xE3\x93\xFC\x82\xB7\x82\xE9\x81B
+\x90\xAE\x90\x94\x92l &lt;integer value&gt; \x82\xF010\x90i\x95\\x8C\xBB\x82̕\xB6\x8E\x9A\x97\xF1\x82ɕϊ\xB7\x82\xB5\x82ĕ\xB6\x8E\x9A\x97\xF1\x8C^\x95ϐ\x94 &lt;strvar&gt; \x82ɑ\xE3\x93\xFC\x82\xB7\x82\xE9\x81B<br>
+sprintf\x83V\x83\x8A\x81[\x83Y\x82̏\x91\x8E\xAE\x8Ew\x92\xE8"%d"\x82Ɠ\x99\x89\xBF\x82ł\xA0\x82\xE9\x81B
 </p>
 
 <h2>\x97\xE1</h2>
@@ -32,7 +33,19 @@
 <pre class="macro-example">
 ; valstr\x82\xC9 '123' \x82\xF0\x91\xE3\x93\xFC
 int2str valstr 123
+messagebox valstr "str"     ; 123
+
+num = 123
+sprintf2 valstr "%d" num
+messagebox valstr "str"     ; 123
 </pre>
 
+<h2>\x8EQ\x8F\xC6</h2>
+
+<ul>
+ <li>"<a href="sprintf.html">sprintf</a>"</li>
+ <li>"<a href="sprintf2.html">sprintf2</a>"</li>
+</ul>
+
 </body>
 </html>



Ttssh2-commit メーリングリストの案内
Back to archive index