how to comment some lines

Moderators: cyao, michael_borland

Post Reply
simone.dimitri
Posts: 46
Joined: 09 Jun 2008, 01:19

how to comment some lines

Post by simone.dimitri » 18 Jan 2012, 09:04

Hello to everybody,
I would like to know if there is a faster way to comment some command lines in the .ele file than using a ! (exclamation point) at the beginning of each individual line. If not, a new elegant feature like inserting a &comment .... &endcomment option in the file could be extremely useful. Isn't it?
Many thanks in advance.
Simone Di Mitri

michael_borland
Posts: 2008
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: how to comment some lines

Post by michael_borland » 18 Jan 2012, 19:16

Simone,

I usually use an editor macro to insert a series of ! characters, so it is quite quick.

However, you can use the following trick: put ! before the &<command> and &end lines *only*, and elegant will ignore whatever is in between, as long as there are no "&" characters.

--Michael

Post Reply