差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| odin:control_flows [2025/06/13 10:03] – [制御フロー] Set link to odin top page for logo image freemikan | odin:control_flows [2025/06/20 11:23] (現在) – [do ... while は存在しない] Modify comment to clearer freemikan | ||
|---|---|---|---|
| 行 306: | 行 306: | ||
| * マップ | * マップ | ||
| - | また、上で「変数名」としたところ「変数名1, | + | また、上で「変数名」としたところを「変数名1, |
| <file odin> | <file odin> | ||
| 行 359: | 行 359: | ||
| answer: string | answer: string | ||
| for { | for { | ||
| - | // もう一度ユーザーから入力を受け付ける | + | // 少なくとも一度は処理を行う... |
| + | // ... | ||
| + | |||
| + | // もう一度繰り返すかどうかユーザーに尋ねる | ||
| answer = read_user_input(prompt = " | answer = read_user_input(prompt = " | ||
| if answer == " | if answer == " | ||
