[Ttssh2-commit] [3605] goto は「ループを抜ける」ために使えないことを明記した。

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2009年 8月 17日 (月) 23:18:52 JST


Revision: 3605
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3605
Author:   yutakapon
Date:     2009-08-17 23:18:52 +0900 (Mon, 17 Aug 2009)

Log Message:
-----------
goto は「ループを抜ける」ために使えないことを明記した。

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


-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/goto.html
===================================================================
--- trunk/doc/en/html/macro/command/goto.html	2009-08-16 15:15:22 UTC (rev 3604)
+++ trunk/doc/en/html/macro/command/goto.html	2009-08-17 14:18:52 UTC (rev 3605)
@@ -24,7 +24,8 @@
 <h2>Remarks</h2>
 
 <p>
-Moves control to the next line of the &lt;label&gt;.
+Moves control to the next line of the &lt;label&gt;.<br>
+However, the goto can not be used to exit the loop like as for and while, use the break instruction in place of the goto.
 </p>
 
 <h2>Example</h2>

Modified: trunk/doc/ja/html/macro/command/goto.html
===================================================================
--- trunk/doc/ja/html/macro/command/goto.html	2009-08-16 15:15:22 UTC (rev 3604)
+++ trunk/doc/ja/html/macro/command/goto.html	2009-08-17 14:18:52 UTC (rev 3605)
@@ -24,7 +24,8 @@
 <h2>‰ðà</h2>
 
 <p>
-&lt;label&gt;s‚ÌŽŸ‚̍s‚ÖƒWƒƒƒ“ƒv‚·‚éB
+&lt;label&gt;s‚ÌŽŸ‚̍s‚ÖƒWƒƒƒ“ƒv‚·‚éB<br>
+‚È‚¨Afor‚âwhile‚Ȃǂ̃‹[ƒv‚𔲂¯‚邽‚߂ɁAgoto‚ÍŽg‚¦‚È‚¢‚½‚߁A‘ã‚í‚è‚Ébreak‚ðŽg‚¤‚±‚ƁB
 </p>
 
 <h2>—á</h2>



Ttssh2-commit メーリングリストの案内
Zurück zum Archiv-Index