Sin Cos Function in mB

General discussion on mikroBasic for AVR.
Post Reply
Author
Message
REAlex
Posts: 13
Joined: 02 Apr 2008 14:59

Sin Cos Function in mB

#1 Post by REAlex » 05 Apr 2008 15:58

Hej programmer,

Question: Why does this code produce an error???

Code: Select all

  
  dim sek_winkel   as float
  dim cos_sek       as float
  dim sin_sek        as float

   sek_winkel    = 36
   cos_sek        = (Cos (sek_winkel))
   sin_sek         = (Sin (sek_winkel))


Massage:
0:16 E-3 Error in ASM code: Label not found "33" 
Thanks for eventually help!!! :?: :?:

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

#2 Post by filip » 07 Apr 2008 13:39

Thank you for reporting this bug.

We have put this on our bug-list, and this will be fixed in the next version of mikroBasic compiler for AVR.

Post Reply

Return to “mikroBasic for AVR General”