You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
func div9
|
|
if ((arg0 % 9) == 0)
|
|
ret 1
|
|
end
|
|
ret 0
|
|
end
|
|
|
|
set a 0
|
|
set b 0
|
|
do
|
|
set a (a + 1)
|
|
div9 a > b
|
|
if (b)
|
|
print a
|
|
print ", "
|
|
end
|
|
delay 1
|
|
while (a < 100)
|
|
|
|
if (a == 100)
|
|
print " All good!"
|
|
end
|
|
|