comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: commenting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: commenting [message #23867 is a reply to message #23779] Thu, 22 February 2001 10:56 Go to previous message
marc schellens[1] is currently offline  marc schellens[1]
Messages: 183
Registered: January 2000
Senior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Running IDL from cron
Next Topic: Generally accessing the rest of the elements in an array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon Dec 01 04:11:10 PST 2025

Total time taken to generate the page: 1.11971 seconds