SX/B 2.00.28 Forgets To Compile A Line
pjv
Posts: 1,903
Hello Terry;
Finding this one threw me for a loop until I noticed that the following line will not compile.... as in it is totally ignored:
··__WParam12 = __WParam12·- 4············ will not compile
wheras:
··__WParam12 = __WParam12 + 4··········· compiles just fine
My program used to work, and now compiling with 2.00.28·it doesn't, so I suspect one of the latest iterations is to blame.
I suspect this is an easy fix for you.
Cheers,
Peter (pjv)
Post Edited By Moderator (Bean (Hitt Consulting)) : 7/16/2009 11:49:40 AM GMT
Finding this one threw me for a loop until I noticed that the following line will not compile.... as in it is totally ignored:
··__WParam12 = __WParam12·- 4············ will not compile
wheras:
··__WParam12 = __WParam12 + 4··········· compiles just fine
My program used to work, and now compiling with 2.00.28·it doesn't, so I suspect one of the latest iterations is to blame.
I suspect this is an easy fix for you.
Cheers,
Peter (pjv)
Post Edited By Moderator (Bean (Hitt Consulting)) : 7/16/2009 11:49:40 AM GMT
Comments
Yes, there was a bug. I actually fixed another one with word addition that someone mentions earlier but I just got it through my thick head what they were saying. In word addition as in "wordvar = wordvar + 1000", for the MSB of 1000 I was using "1000 << 8" instead of "1000 >> 8".
Anyone who downloaded 2.00.28...Please get 2.00.29 it fixed both of these bugs.
I'm a bit embarrassed that I didn't catch that myself. But thank you for posting it. I owe you one...
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Does that byte of memory hold "A", 65, $41 or %01000001 ?
Yes it does...
Post Edited (Bean (Hitt Consulting)) : 7/16/2009 11:56:04 AM GMT
Thanks for the quick fix, ...... and embarrassment is not required; we're all capable of doing that quite well ourselves!
Cheers,
Peter (pjv)