12-26-2005, 09:24 AM
I'm having a very strange problem, when I run the program below, angle stays constant at 1, when infact it should be increasing...
Why is it constant at 1 when it shouldnt... :-?
Thanks for your help! 8)
Why is it constant at 1 when it shouldnt... :-?
Thanks for your help! 8)
Code:
Dim cosval As Single
Dim sinval As Single
Dim angle As Single
Do
angle += 1
Print angle
Asm
fbld angle
fbld angle
fsin
fcos
fbstp cosval
fbstp sinval
End Asm
Loop Until Multikey(1)