error on device

nick2210

Member
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.
 

nick2210

Member
error message (translated from russian):
"There is no way of displaying the error message as a set of additional resources containing it cannot be found"
I cant make sence of the message(even of my language one)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…