命令 Instruction Type
Format
do { do (
処理 Processing
}while(条件) ) while (condition)
Commentary
条件を満たしている間ブロック内を繰り返します。 Repeat the block between the conditions are met. 条件判断は最後にチェックするため、最低でも1回繰り返し処理が行われます。 Determine the conditions for the last check, at least one process will be repeated.
サンプルコード Sample code
n = 0; n = 0;
do { do (
n++; n + +;
outputs[0] = n; outputs [0] = n;
}while (n<3); ) while (n <3);