[Ttssh2-commit] [5160] listbox のパラメータ指定の仕様変更。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2013年 3月 23日 (土) 02:28:55 JST


Revision: 5160
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5160
Author:   yutakapon
Date:     2013-03-23 02:28:54 +0900 (Sat, 23 Mar 2013)
Log Message:
-----------
listbox のパラメータ指定の仕様変更。

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

-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/listbox.html
===================================================================
--- trunk/doc/en/html/macro/command/listbox.html	2013-03-22 14:17:01 UTC (rev 5159)
+++ trunk/doc/en/html/macro/command/listbox.html	2013-03-22 17:28:54 UTC (rev 5160)
@@ -18,7 +18,7 @@
 </p>
 
 <pre class="macro-syntax">
-listbox &lt;message&gt; &lt;title&gt; &lt;item1&gt; [&lt;item2&gt;] [...] [&lt;item10&gt;]
+listbox &lt;message&gt; &lt;title&gt; &lt;string array&gt;
 </pre>
 
 <h2>Parameters</h2>
@@ -30,7 +30,7 @@
 	<dt class="macro">string &lt;title&gt;</dt>
 	<dd>It is displayed as the list box title.</dd>
 	
-	<dt class="macro">string &lt;itemN&gt; (N=1-10)</dt>
+	<dt class="macro">array&lt;string array&gt;</dt>
 	<dd>It is displayed as the list box items.</dd>
 
 </dl>
@@ -47,7 +47,11 @@
 <h2>Example</h2>
 
 <pre class="macro-example">
-listbox 'Select your favorite food.' 'Confirmation' 'Banana' 'Apple' 'Orange'
+strdim msg 3
+msg[0] = 'Banana' 
+msg[1] = 'Apple' 
+msg[2] = 'Orange'
+listbox 'Select your favorite food.' 'Confirmation' msg
 sprintf2 var "%d" result
 messagebox var "result"
 ; result

Modified: trunk/doc/ja/html/macro/command/listbox.html
===================================================================
--- trunk/doc/ja/html/macro/command/listbox.html	2013-03-22 14:17:01 UTC (rev 5159)
+++ trunk/doc/ja/html/macro/command/listbox.html	2013-03-22 17:28:54 UTC (rev 5160)
@@ -18,7 +18,7 @@
 </p>
 
 <pre class="macro-syntax">
-listbox &lt;message&gt; &lt;title&gt; &lt;item1&gt; [&lt;item2&gt;] [...] [&lt;item10&gt;]
+listbox &lt;message&gt; &lt;title&gt; &lt;string array&gt;
 </pre>
 
 <h2>\x83p\x83\x89\x83\x81\x81[\x83^</h2>
@@ -30,7 +30,7 @@
 	<dt class="macro">\x95\xB6\x8E\x9A\x97\xF1 &lt;title&gt;</dt>
 	<dd>\x83\x8A\x83X\x83g\x83{\x83b\x83N\x83X\x82̃^\x83C\x83g\x83\x8B\x81B</dd>
 	
-	<dt class="macro">\x95\xB6\x8E\x9A\x97\xF1 &lt;itemN&gt; (N=1-10)</dt>
+	<dt class="macro">\x95\xB6\x8E\x9A\x8C^\x95\xB6\x8E\x9A\x97\xF1 &lt;string array&gt;</dt>
 	<dd>\x83\x8A\x83X\x83g\x83{\x83b\x83N\x83X\x82̑I\x91\xF0\x8D\x80\x96ځB</dd>
 
 </dl>
@@ -47,7 +47,11 @@
 <h2>\x97\xE1</h2>
 
 <pre class="macro-example">
-listbox '\x8DD\x82\xAB\x82ȐH\x82ו\xA8\x82\xF0\x91I\x82\xF1\x82ł\xAD\x82\xBE\x82\xB3\x82\xA2' '\x82\xA0\x82Ȃ\xBD\x82ւ̖₢' '\x83o\x83i\x83i' '\x82\xE8\x82\xF1\x82\xB2' '\x82݂\xA9\x82\xF1'
+strdim msg 3
+msg[0] = '\x83o\x83i\x83i' 
+msg[1] = '\x82\xE8\x82\xF1\x82\xB2' 
+msg[2] = '\x82݂\xA9\x82\xF1'
+listbox '\x8DD\x82\xAB\x82ȐH\x82ו\xA8\x82\xF0\x91I\x82\xF1\x82ł\xAD\x82\xBE\x82\xB3\x82\xA2' '\x82\xA0\x82Ȃ\xBD\x82ւ̖₢' msg
 sprintf2 var "%d" result
 messagebox var "result"
 ; result



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