Re: Blank output (solved)

From: Date: Thu, 01 May 2003 00:18:31 +0000
Subject: Re: Blank output (solved)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145873@lists.php.net to get a copy of this message
Hi, Thursday, May 1, 2003, 3:55:13 AM, you wrote: RA> Hey everyone, RA> I solved the problem, I love clean code and sometimes I get back to an old RA> program after a month or two...so I have gotten into the habit (from JAVA) RA> to put plenty of comments in my code...seems like that got me into trouble RA> this time. RA> For those of you who are curious as to what the problem was...it was a RA> nested comment. RA> eg: RA> /* lets comment this as we are testing... RA> {commented code blah blah} RA> //stupid problem was here as i added a comment INSIDE a commented area. RA> {more commented code blah blah} RA> */ RA> Cheers, RA> -Ryan If you want to disable a bit of code that may contain comments you can do this if(0){ code goes here } -- regards, Tom

« previous php.general (#145873) next »