[Xcircuit-dev] restore insertparam to python/Xw branch
R. Timothy Edwards
tim.edwards at multigig.com
Tue Jun 6 21:14:08 PDT 2006
Dear Larry,
> I'm not really happy with the order of parameters listed by Wprintf().
> A typical status/prompt line for a Resistor is
> Choose: 1 = v3 = <?>, 2 = v2 = <k>, 3 = v1 = <1.0>
> ..and you have to press either 1, 2, or 3. If I knew that all of
> these string parameters consisted of "v" and a digit, I would do
> something different.
The string parameters do not consist only of "v" + a digit. This is
the behavior when XCircuit encounteres a file previous to version
3.something when I changed the parameters to a key:value pair
representation. The original style had unnamed parameters that
were converted to "v1", "v2", etc., keys within PostScript, so I
kept these default names for want of anything better. If you look
at the parameterized objects that come with the XCircuit distribution,
you should get other (and more meaningful) parameter names. The "v1",
"v2", etc., come out backwards because PostScript is a stack language
and processes tokens from xcircuit in reverse order.
---Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: tim.edwards at multigig.com |
| MultiGiG, Inc. | web: http://www.multigig.com |
| 100 Enterprise Way, Suite A-3 | phone: (831) 621-3283 |
| Scotts Valley, CA 95066 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
More information about the Xcircuit-dev
mailing list