Files
ngspice/examples/loops/loop_repeat.cir
T
Holger Vogt 6b03aaa15f examples for loops.
The syntax is listed in the ngspice manual,
chapter 17.6 Control Structures. Practical examples
using a simple voltage divider circuit are given here.
2022-04-26 10:32:53 +02:00

12 lines
116 B
Plaintext

example repeat loop
.control
set loops = 7
repeat $loops
echo How many loops? $loops
end
.endc
.end