Results 1 to 7 of 7

Thread: Using compiler hints for quick jumping

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Using compiler hints for quick jumping

    I just figured an awesome way to use the compiler to replace most need for TODO-lists and stuff. Delphi and Lazarus for example always hints if a variable is not used and lets you click the line to quickly jump to the spot in code. I figured i might abuse this to give myself a quick way to jump and find code blocks i haven't completely finished.

    Trick is to simply add a variable to your procedure/function for example:
    unfinished: integer;
    or even make it caps for more visibility.

    This makes the compiler point you out if you have forgot to finish something. It comes up as "this variable is not used".
    Last edited by User137; 09-10-2010 at 11:11 AM.

Bookmarks

Posting Permissions

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