Go Back   Wiki NewForum | Latest Entertainment News > Career Forum & Tips > Tech Forum & Tutorial > Oracle Database, SQL, Application, Programming


How to comment out large amount of source code


Reply
Views: 3162  
Thread Tools Rate Thread
  #1  
Old 08-20-2010, 11:22 AM
bholas bholas is offline
Award Winner
 
Join Date: Apr 2010
Posts: 4,977
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
{$ENDIF}


Reply With Quote
Reply

Tags
programming tips

New topics in Oracle Database, SQL, Application, Programming





Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
WikiNewForum)