1. Computing

How to comment out large amount of source code

From , former About.com Guide

To comment a simple line of code you could use // before that line. To comment few lines you could use { } or (* *). But, if you have a large amount of code that you want to comment out, none of the above operators may help, depending on whether you have already used those operators in the code. Here's a definitive way to comment out code:

{$IFDEF False}

your commented
code goes here

{$ENDIF}

Delphi tips navigator:
» How to delete 'Temporary Internet Files' from code
« How to place a TCheckBox inside a TRichEdit

©2013 About.com. All rights reserved.