Nested IF-THEn_ELSEs


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    Your second If statement is true for all the conditions so else will never be executed



    Al.
    Last edited by aratti; - 31st October 2008 at 15:22.

  2. #2
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Okay folks, my stupidity. I was using bi-color LEDs, and they were CAs; that made things a bit confusing. Its working the way its supposed to now.

    Anand

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 22:14
  2. Nested For Next Loop Demo
    By Archangel in forum Code Examples
    Replies: 0
    Last Post: - 8th June 2009, 08:57
  3. Nested IF THEN Statements
    By cjsanders in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th December 2004, 20:18

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