Re: [S] commenting multiple lines of commands

Alan Zaslavsky (
Wed, 1 Jul 1998 11:21:51 -0400 (EDT)

> From: (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) {

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 To unsubscribe
send e-mail to with the BODY of the
message: unsubscribe s-news