Shop OBEX P1 Docs P2 Docs Learn Events
logical errors — Parallax Forums

logical errors

propMakerpropMaker Posts: 65
edited 2009-07-13 02:12 in Propeller 1
Why are they called logical errors when it was illogical thinking that produced the error.

I got frustrated last winter trying to write an object. And I started messing around with the prop again, I have a neat project in mind. I thought I should finish my other object first since this one will use a lot of the same principles. I was re-writing my code into asm and noticed that my binary constants were backwards. Thats why I was constantly (pun intended) getting bad results.

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2009-07-12 04:01
    propMaker,

    "logical error" and "illogical" make perfect sense. smilewinkgrin.gif


    Can you post some of your code that was giving you problems?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • propMakerpropMaker Posts: 65
    edited 2009-07-12 04:49
    It's for the ADC0834 chip. With a little clean up and some documentation it will be ready for the object exchange. I'll post it here also.
  • propMakerpropMaker Posts: 65
    edited 2009-07-13 02:12
    In a weird turn of events, the logical error caused by illogical thinking in making constants didn't have an effect. In commenting my code, I realized that I didn't reference those constants at all. Why this code didn't work months ago is beyond me.

    Are my evil world domination robots already turning against me? Simulating logical coding errors just to mess with my head?
Sign In or Register to comment.