ngspice/examples/loops/loop_while.cir

13 lines
156 B
Plaintext
Raw Permalink Normal View History

example while loop
.control
let loopindex = 0
while loopindex < 5
echo index is $&loopindex
let loopindex = loopindex + 1
end
.endc
.end