svnno****@sourc*****
svnno****@sourc*****
2011年 3月 4日 (金) 00:06:26 JST
Revision: 4358 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4358 Author: yutakapon Date: 2011-03-04 00:06:26 +0900 (Fri, 04 Mar 2011) Log Message: ----------- ãµã³ãã«ã³ã¼ã追å ã http://logmett.com/forum/viewtopic.php?f=9&t=1622 Modified Paths: -------------- trunk/doc/en/html/macro/command/filereadln.html trunk/doc/ja/html/macro/command/filereadln.html -------------- next part -------------- Modified: trunk/doc/en/html/macro/command/filereadln.html =================================================================== --- trunk/doc/en/html/macro/command/filereadln.html 2011-03-03 12:57:20 UTC (rev 4357) +++ trunk/doc/en/html/macro/command/filereadln.html 2011-03-03 15:06:26 UTC (rev 4358) @@ -52,5 +52,22 @@ fileclose fhandle </pre> +<pre class="macro-example"> +; Open a file. +fileopen fhandle 'test.txt' 0 +while 1 + ; Read a line from the file. + filereadln fhandle line + if result=1 then + break + endif + ; Display the line. + messagebox line 'test.txt' + ; Repeat until the end of the file. +endwhile +; Close the file. +fileclose fhandle +</pre> + </body> </html> Modified: trunk/doc/ja/html/macro/command/filereadln.html =================================================================== --- trunk/doc/ja/html/macro/command/filereadln.html 2011-03-03 12:57:20 UTC (rev 4357) +++ trunk/doc/ja/html/macro/command/filereadln.html 2011-03-03 15:06:26 UTC (rev 4358) @@ -53,5 +53,22 @@ fileclose fhandle </pre> +<pre class="macro-example"> +; t@CI[v +fileopen fhandle 'test.txt' 0 +while 1 + ; êsÇÝÝ + filereadln fhandle line + if result=1 then + break + endif + ; ÇÝñ¾sð\¦ + messagebox line 'test.txt' + ; t@CÅãÜÅJèÔ· +endwhile +; t@CN[Y +fileclose fhandle +</pre> + </body> </html>