Need 4 modes with just 3 switches - need all modes to be selectable QUICKLY!


Closed Thread
Results 1 to 40 of 68

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bruce View Post
    Have you tried changing IF debug_out = 1 then DEBUG "Sw1 On_status= ", dec on_status, " Mode = ", DEC mode, 13, 10

    to
    Code:
    IF debug_out = 1 then 
      DEBUG "Sw1 On_status= ", dec on_status, " Mode = ", DEC mode, 13, 10
    ENDIF
    It may be interpreting the DEBUG command as a label to jump to?
    Hi Bruce,

    Just tried your recommendation....still the same - compliation 53 errors (fwiw I have those same lines scattered throughout my main body of code & they all work fine...I don't think the errors relate to those particlar lines per se...if I only comment out a couple of those particular "IF debug_out = 1 " lines in the imnterupt handler - it compiles ok! Likewise if I uncomment the "IF debug_out = 1 " lines, but instead comment out a couple of of ther "if" lines in the interupt handler - it compiles - it seems to be related to the amount of code I've put into the interupt handler???)

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Bummer. I guess the only way to get solid help then is for you to post all of your code, and let us help figger it out..

    I've used DT_INTs in a TON of apps, and never had a single problem, but it's a tough call to help without seeing every-single-line-of-code you have.

    If it's humongous, just post it as a text file in .zip format so we can compile it all, and see what the problem is
    Last edited by Bruce; - 12th August 2010 at 23:26.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bruce View Post
    Bummer. I guess the only way to get solid help then is for you to post all of your code, and let us help figger it out..

    I've used DT_INTs in a TON of apps, and never had a single problem, but it's a tough call to help without seeing every-single-line-of-code you have.

    If it's humongous, just post it as a text file in .zip format so we can compile it all, and see what the problem is
    I'll push on for a night or two more, because....

    1. Mainly, I'd be embarrased at posting my code (like I say I code what works within the confines of my very basic programming abilities...and it's not elegant!!)...I'm not quite ready to expose my unfeasibly small gonads to the programming world!

    2. Even though it's rough (& probably laughable to you guys!)...I've actually spent (on & off) ages constructing the overall flow within the program & wouldn't want it posted on a public forum where some on other (non pic) forums could see what I've done!

    With this latest plea, just wanted to make sure it wasn't an error that had been seen before or a gotcha of some kind.

    Many thanks for the continued offer of help though to a persistent n00b ....you guys really are great.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Mainly, I'd be embarrased at posting my code.
    Then send it to me ... darrel at pbpgroup.com.

    No DT_INTS problem is allowed to go un-answered.
    It's a rule.
    DT

  5. #5
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Then send it to me ... darrel at pbpgroup.com.

    No DT_INTS problem is allowed to go un-answered.
    It's a rule.
    lol ....program just sent - many thanks (& please ...if it's something stupidly simple....lie a bit for me!!!!)

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    1. Mainly, I'd be embarrased at posting my code (like I say I code what works within the confines of my very basic programming abilities...and it's not elegant!!)...I'm not quite ready to expose my unfeasibly small gonads to the programming world!

    2. Even though it's rough (& probably laughable to you guys!)...I've actually spent (on & off) ages constructing the overall flow within the program & wouldn't want it posted on a public forum where some on other (non pic) forums could see what I've done!
    What do you have to be embarrassed about? You are working hard on a project, that is something to be proud of. If some one thinks your code is not "elegant" who cares what they think! If someone laughs? Again, who cares what those people think. "Those" people are not even worth the time of day.

    Keep working and be proud of your accomplishments!!!
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by HankMcSpank View Post
    (& please ...if it's something stupidly simple....lie a bit for me!!!!)
    I got the file. And you have nothing to worry about.
    It's a perfect program with logical structures throughout it's well constructed code.

    OK ... it's something stupidly simple ... so I lied.
    Even though the stupid mistake was mine.

    Yes, you found a bug in DT_INTS-14 v1.00, and have won the daily prize. (TBD)

    But seriously.
    I see what the problem is, I can get your program to compile, but need to make sure the fix is really a fix.

    I should have it by tomorrow.

    Thanks for the find Hank.
    DT

  8. #8
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post

    Yes, you found a bug in DT_INTS-14 v1.00, and have won the daily prize. (TBD)

    Thanks for the find Hank.
    Wow ....& thank you for the quick feedback Darrel.

    I feel honoured, chuffed & more than anything *relieved* (a few nights have been spent 'chin stroking' with a furrowed brow on this one!) to have unknowingly & unwittingly stumbled upon a bug in the world renowned, universally embraced & snappily entitled DTS-INTS-14.bas.
    Last edited by HankMcSpank; - 13th August 2010 at 10:37.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts