[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: multiple attributes

John Doty <jpd@xxxxxxxxx> writes:

> On Jan 5, 2011, at 9:56 AM, Stephan Boettcher wrote:
>> Is this too verbose?
>> M? #{pinlabel=D} #{pinlabel=G} #{pinlabel=S} #{pinlabel=S} ${model-name} L={length} W={width} AS= AD= PS= PD= M= 
> Yes, I think it is. Also note that we've for many years had l=, w=,
> m=, etc. as special attributes in both SPICE back ends. Unfortunately,
> it isn't documented, and the case sensitivity always trips me up (as
> it did above).

Well, the {} syntax may be optional

 W=  defaults to W={W}
 #D  defaults to #{pinlabel=D}

You may want to write W={w} W={W}, to cover both cases :-)

And please drop %x `x ...


geda-user mailing list