Hello.
This code I took from basic4ppc book:
Sub App_Start
Form1.show
x=4
y=3
power(x,y)
msgbox(power(x,y))
End Sub
Sub power(number,pow)
if pow=1 then
return number
else
return number*power(number,pow-1)
end if
End Sub
It runs well on my desktop,but on my device won't(displays an error message
)
Can you folks check if the programm runs on your devices???
Thank you.
This code I took from basic4ppc book:
Sub App_Start
Form1.show
x=4
y=3
power(x,y)
msgbox(power(x,y))
End Sub
Sub power(number,pow)
if pow=1 then
return number
else
return number*power(number,pow-1)
end if
End Sub
It runs well on my desktop,but on my device won't(displays an error message
Can you folks check if the programm runs on your devices???
Thank you.