W while


while [while]

条件を満たす限り、繰り返しを行うコマンドです。

while {[select_brother]} {
    ----
}

だと、[select_brother] が条件ということになります。
[select_brother] が1である限り、つまり弟が選べる限り繰り返します。条件を

[select_all]

などにすると、select_all が 0 を返すことはないので、無限ループになってしまいます。

2003.6.11(水) 16:20:53[編集]


Sakura Dictionary Ver. 1.09a
Scripted by UTANO Lime
(c)Pastel Carrot 1999-
All rights Reserved.