Thanks Charles,
scope is a further OxygenBasic secret..
declare function Hypozykloide(single x1,y1,r)
scope
single d=100,x,y,R=90,r,ß=45
function Hypozykloide(single x1,y1,r) exposed
x=d*cos((1-R/r)*ß)+R-r*cos(ß)
y=d*sin((1-R/r)*ß)+R-r*sin(ß)
print x*pi/180
print y*pi/180
end function
end scope
Hypozykloide 10,10,45
Hypozykloide 10,10,90
Hypozykloide 10,10,180