[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: commenting



Alex Schuster wrote:
> 
> "Christopher W. O'Dell" wrote:
> 
> > This is probably wishful thinking, but is there any way to
> > comment out a large section of code as in C,
> > where you don't have to insert a ';' on every line of code,
> > but you can use a beginning and ending comment delimiter?
> > I have this idea that there might be secret delimiters that
> > i have not yet heard about in IDL.  And I'm very lazy and
> > have often longed for this feature.
> 
> Yes, the secret delimiters are 'GOTO, EndOfComment' and 'EndOfComment:'.

Hmmm, with that way you can only comment out lines not containing syntax
errors.
In emacs you can use idl-wave mode, mark a region and then type C-c ;
but who uses this mode will already know...

:-) marc