hi again..
sorry couldn't get the idea about the making libs..
i've a sample code:
start:
screen 0
width 80
cls
input "input sine to find alfa";sine
if abs(sine) > 1 then goto start
arcsine:
myangle=0
g=abs(sine)
if g=0 then myangle=0 : goto showresult
if g=1 then myangle=90 : goto showresult
c=0
while sine(c) < g
c=c+.1
wend
myangle=c
showresult:
if sine < 0 then myangle=myangle+180
? "sin(";myangle;") = ";sine
end
anyway....... the question is how can i make a library and recall my arcsine sub ?(this is not a sub here but i use it as a sub in my sources)
can you please answer it step by step because of my bad english..
i've tons of sub codes like arcsine and i want to put them in my library and just recall when i need.. please help !
sorry couldn't get the idea about the making libs..
i've a sample code:
start:
screen 0
width 80
cls
input "input sine to find alfa";sine
if abs(sine) > 1 then goto start
arcsine:
myangle=0
g=abs(sine)
if g=0 then myangle=0 : goto showresult
if g=1 then myangle=90 : goto showresult
c=0
while sine(c) < g
c=c+.1
wend
myangle=c
showresult:
if sine < 0 then myangle=myangle+180
? "sin(";myangle;") = ";sine
end
anyway....... the question is how can i make a library and recall my arcsine sub ?(this is not a sub here but i use it as a sub in my sources)
can you please answer it step by step because of my bad english..
i've tons of sub codes like arcsine and i want to put them in my library and just recall when i need.. please help !