[Top][All Lists]

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

[Gnucap-devel] Fwd: [Help-gnucap] inline comment delimiter

From: asomers
Subject: [Gnucap-devel] Fwd: [Help-gnucap] inline comment delimiter
Date: Tue, 15 Sep 2009 16:31:45 -0700

Here's a thread that started out on gnucap-help:

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:
*Comment test
*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

-Alan Somers

---------- Forwarded message ----------
From: al davis <address@hidden>
Date: Fri, Sep 11, 2009 at 9:52 AM
Subject: Re: [Help-gnucap] inline comment delimiter
To: address@hidden

On Friday 11 September 2009, address@hidden wrote:
> It says that in section 1.4: Command Structure.  On my
>  system, it's at:
>  file:///usr/share/doc/gnucap/html/gnucap-man006.html#htoc5

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
(address@hidden) and point out the problems there,
specifically so they can be addressed directly.

Help-gnucap mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]