Posted to tcl by georgtree at Sat May 17 10:10:35 GMT 2025view raw
- (georgtree) 52 % R new -help
- Creates object of class `Resistor` that describes resistor. Can accepts
- unambiguous prefixes instead of switches names. Allows switches to appear after
- parameters.
- Switches:
- -r - Required, expects argument. Resistance value.
- -m - Expects argument. Multiplier value.
- -temp - Expects argument. Device temperature.
- -tc1 - Expects argument. Linear thermal coefficient.
- -tc2 - Expects argument. Quadratic thermal coefficient.
- Parameters:
- name - Name of the device without first-letter designator R.
- npNode - Name of node connected to positive pin.
- nmNode - Name of node connected to negative pin.
- object deleted in constructor