while反復処理【Cycle operator while】

If the expression is true, the operator is executed until the expression becomes false. If the expression is false, the control will be given to the next operator.

もし、式が true の場合、式が false になるまで、処理が実行されます。式が false の場合、コントロールは次の処理に与えられます。

 

An expression value has been defined before the operator is executed. Therefore, if the expression is false from the very beginning, the operator will not be executed at all.

処理が実行される前に、式の値が定義されています。そのために、もし、式が先頭から false である場合は、処理がまったく実行されません。

Examples:

例:

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">