Difference between revisions of "While/ja"
< While
Jump to navigation
Jump to search
Coffee Mills (talk | contribs) (New page: {{Multi-lang}} {{LSL_Conditional/ja |statement=while |statement_header |statement_desc=どちらの文も空文でもよい. |statement_end=loop |statement_end_desc=Can be either a single ...) |
Coffee Mills (talk | contribs) m |
||
Line 4: | Line 4: | ||
|statement_header | |statement_header | ||
|statement_desc=どちらの文も空文でもよい. | |statement_desc=どちらの文も空文でもよい. | ||
|statement_end= | |statement_end=ループ | ||
|statement_end_desc= | |statement_end_desc=単文でも複合文でも空文でもよい. | ||
|p1_name= | |p1_name=条件式|p1_desc=これが実行され真であれば '''ループ''' が実行される. | ||
|constants | |constants | ||
|spec | |spec | ||
|caveats | |caveats | ||
| | |例=<pre>//単文 | ||
integer a = 0; | integer a = 0; | ||
integer b = 10; | integer b = 10; | ||
Line 36: | Line 36: | ||
|also_articles | |also_articles | ||
|also_footer | |also_footer | ||
| | |注=A {{LSLG|do-while}} loop is faster than a while loop or a {{LSLG|for/ja|for}} loop. | ||
|mode | |mode | ||
|deprecated | |deprecated |
Revision as of 19:02, 12 December 2007
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
while( 条件式 ) ループ
• | 条件式 | – | これが実行され真であれば ループ が実行される. | |
• | ループ | – | 単文でも複合文でも空文でもよい. |
どちらの文も空文でもよい.
詳細
例