Re: [S] commenting multiple lines of commands

Alan Zaslavsky (zaslavsk@hcp.med.harvard.edu)
Wed, 1 Jul 1998 11:21:51 -0400 (EDT)


> From: Jean_Adams@usgs.gov (Jean Adams)
> Is there a quick way to comment out multiple lines of commands in
> S-PLUS code without inserting a pound sign "#" before every line?

THe trick I commonly use is to put

if(F) {
CODE HERE
}

around the "commented out" section. Of course this may not work if
the stuff inside the brackets is not proper code with balanced
brackets/parentheses (since it will be parsed).
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news