Resistance calculator: Difference between revisions

No edit summary
Line 211:
if r.a!=nil: r.a.report level & "| "
if r.b!=nil: r.b.report level & "| "
proc `+`*(r:Resistor,other:Resistor) : auto = return Resistor(symbol:'+', a:r, b:other)
proc `*`*(r:Resistor,other:Resistor) : auto = return Resistor(symbol:'*', a:r, b:other)
 
var R0,R1,R2,R3,R4,R5,R6,R7,R8,R9,R10 : Resistor