Files
ngspice/paranoia_parallel/examples/control_structs/repeat_one_goto.sp
T
Brian Taylor 6fce461984 Paranoia_Parallel: a test suite for more than 100 test circuits,
running in parallel on a multi-core machine (12 min execution time
on a i9 9900, ngspice compiled with gcc, debug mode enabled.
Linux with Valgrind and Parallel are required.
2026-07-08 22:47:22 +02:00

20 lines
314 B
SourcePawn

Test sequences for ngspice control structures
*vectors are used (except foreach)
*start in interactive mode
.control
* simple test for label, goto
echo
let loop = 0
label starthere
echo start "$&loop"
let loop = loop + 1
if loop < 3
goto starthere
end
echo end "$&loop"
quit
.endc