character for starting a comment?
character for starting a comment?
(OP)
hi,
just a very short question:
i know the character for starting a single-line comment which is a "!". but what is the character to start (and to end) a comment over more than 1 line in a batch file for ansys? i don't want to write a "!" in front of every line...

thank you!
solari
just a very short question:
i know the character for starting a single-line comment which is a "!". but what is the character to start (and to end) a comment over more than 1 line in a batch file for ansys? i don't want to write a "!" in front of every line...
thank you!
solari





RE: character for starting a comment?
It looks like you're stuck then. There is no other substitute for '!' to my knowledge. You will need to comment out every line that is not to be taken as input. Some other options you have for flagging comments just in a slightly different format are the C*** and /COM commands. I use the C*** command quite frequently as it shows up nicely in log and output files.
-Brian
RE: character for starting a comment?
hmm...you may be right, i just thought that once i knew a way to make a multiline comment...thanks anyway!
RE: character for starting a comment?
I confirm what Stringmaker says: no way to create a "multiline" comment. There is a reason for that: APDL is written in simple ASCII format (pure-text) so there is absolutely no definition of "line length": a line finishes where there is a carriage return (or line-feed, or both). It also means that after a carriage return, a new line will begin, which will be completely independent from the previous.
Regards