Sideline Markers to "pair" the IF and ENDIF commands


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    3

    Lightbulb Sideline Markers to "pair" the IF and ENDIF commands

    I intend to use quite some If-Then and If Then Endif commands.
    But sometimes it is hard to keep a right view on things when you don't see which IF commands stands alone and which IF commands are closed with an Endif, and if so, Which Endif in that manner.

    Would it be an idea to mark an IF command (when clicking on the specific line) along with its closing Endif command?

    It would make things so much more clear. :-)

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,588


    Did you find this post helpful? Yes | No

    Default Re: Sideline Markers to "pair" the IF and ENDIF commands

    Good idea, but that is out of PBP's hands. It's something that could be handled by whatever IDE you use: Microcode Studio, Fineline, etc.

    Robert

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,518


    Did you find this post helpful? Yes | No

    Default Re: Sideline Markers to "pair" the IF and ENDIF commands

    Hi,
    FineLine IDE already does exactly that and I'm 99.9% sure MPLABX does too.
    "Bracketing" (ie matching IF/ENDIF, FOR/NEXT, WHILE/WEND etc), code folding and source level debugging is what's missing in MicroCode Studio IMHO.

    /Henrik.

  4. #4
    Join Date
    Sep 2009
    Posts
    737


    Did you find this post helpful? Yes | No

    Default Re: Sideline Markers to "pair" the IF and ENDIF commands

    I'm using MPLABX, code folding, TODO markers, etc still doesn't work for PBP3...
    Or am I missing something

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,518


    Did you find this post helpful? Yes | No

    Default Re: Sideline Markers to "pair" the IF and ENDIF commands

    No, since you're using it and I'm not it's most likely ME who's missing something.
    That makes source level debugging pretty much the only reason for using it (MPLABX) with PBP then.

Similar Threads

  1. Replies: 0
    Last Post: - 14th November 2013, 04:32
  2. Replies: 3
    Last Post: - 15th October 2012, 09:06
  3. Replies: 8
    Last Post: - 3rd March 2011, 23:20
  4. Sending printer "Esc/Pos" commands
    By Kman in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 25th June 2007, 21:17
  5. Replies: 1
    Last Post: - 16th February 2005, 21:05

Members who have read this thread : 1

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