1から100まで足し算しる


repeat with ≪変数≫ from to

例:
set x to 0
set y to 100
repeat with i from 1 to y
set x to x + i
end repeat
display dialog x as text

※そろばん持ったら、必ずやるアレね。

Posted: 土 - 12月 20, 2003 at 12:36 AM        


©