PBP IF statement nesting question


Closed Thread
Results 1 to 8 of 8

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: PBP IF statement nesting question

    Did you add the third ENDIF at the end after commenting out the first?

    And this code editor really helps in this situation
    http://www.picbasic.co.uk/forum/cont...75-FineLineIDE
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Nov 2008
    Location
    Monrovia, AL
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: PBP IF statement nesting question

    Quote Originally Posted by mackrackit View Post
    Did you add the third ENDIF at the end after commenting out the first?
    No. I missed that.
    Moving the ENDIF appears to work. I guess I'm too used to languages (verilog, etc.) that have a way of explicitly-delineating blocks of statements.

    Thank you for the help!

    -Dan

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


    Did you find this post helpful? Yes | No

    Default Re: PBP IF statement nesting question

    that have a way of explicitly-delineating blocks of statements
    That is where FineLine helps.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Nov 2008
    Location
    Monrovia, AL
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: PBP IF statement nesting question

    Quote Originally Posted by mackrackit View Post
    That is where FineLine helps.
    I'll certainly give FineLine a shot.
    Thanks-Dan

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