What is the inline comment delimiter in gnucap, and what should it be?
According to the manual for V0.35, the delimiter is quote. It doesn't
say whether that is single quote or double quote.
According to Al Davis, there are no inline comments in gnucap.
From experiment, it seems that ' starts a comment on my lines, but "
starts a comment on a .SUBCKT line. Here is an example script that
illustrates both types of quote:
*On a .SUBCKT line, it seems that " is a comment delimiter
*But elsewhere it seems that ' is a comment delimiter
.SUBCKT Foo 1 2 "(IN
*This next line will not work if you uncomment it
*.SUBCKT Bar 1 2 '(IN
R 1 2 1000
D1 2 0 DIODE1 ' a comment
V1 1 0 dc 1 ac 0
.MODEL DIODE1 D(IS=8.2592e-16 RS=10) ' a comment
---------- Forwarded message ----------
From: al davis <ad211@free...>
Date: Fri, Sep 11, 2009 at 9:52 AM
Subject: Re: [Help-gnucap] inline comment delimiter
On Friday 11 September 2009, asomers@gmai... wrote:
> It says that in section 1.4: Command Structure. On my
> system, it's at:
That's the old manual, for the old stable version. (0.35??)
There are a lot of changes in the development version, which is
getting close to ready for release as a stable version.
> So I guess I what you're saying is that I should just delete
> those comments. That will work, although it's sad to lose
> information. Gnucap can definitely not read LTSpice models
> as is. There are many changes I have to make.
The best approach is to move over to the developer list
(gnucap-devel@gnu....) and point out the problems there,
specifically so they can be addressed directly.