Go Back   Wiki NewForum > Career Forum > Tech Forum & Tutorial > Oracle Database, SQL, Application, Programming

Views: 1457  
Thread Tools Rate Thread Display Modes
Old 08-20-2010, 11:22 AM
bholas bholas is offline
Award Winner
Join Date:
Apr 2010
Posts: 5,181
Default How to comment out large amount of source code

You can use { } or (* *) or // [Delphi 2.x+] to comment out code in Delphi. 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 your code. Here's a definitive way to comment out code:
{$IFDEF False}
// your commented code goes here

Reply With Quote

programming tips

New topics in Oracle Database, SQL, Application, Programming

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2020, vBulletin Solutions, Inc.