summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/control_structs/if-batchmode.cir
diff options
context:
space:
mode:
authorRahul Paknikar2021-01-08 12:47:23 +0530
committerGitHub2021-01-08 12:47:23 +0530
commite6f48f5b1bf22a1d048b44ed4416b4315a461306 (patch)
treefd357549a236cdc652f0b6d2919beee0cee7faa5 /Windows/spice/examples/control_structs/if-batchmode.cir
parentac223c4a69c701ad0a247401acdc48b8b6b6dba6 (diff)
parent6b512cbf954273b0f21d3800d10a7ad42a759425 (diff)
downloadeSim-i2.1.tar.gz
eSim-i2.1.tar.bz2
eSim-i2.1.zip
Merge pull request #161 from rahulp13/installersi2.1
fixed key issue for ubuntu 20+; updated installers for windows os
Diffstat (limited to 'Windows/spice/examples/control_structs/if-batchmode.cir')
-rw-r--r--Windows/spice/examples/control_structs/if-batchmode.cir31
1 files changed, 0 insertions, 31 deletions
diff --git a/Windows/spice/examples/control_structs/if-batchmode.cir b/Windows/spice/examples/control_structs/if-batchmode.cir
deleted file mode 100644
index b26b345c..00000000
--- a/Windows/spice/examples/control_structs/if-batchmode.cir
+++ /dev/null
@@ -1,31 +0,0 @@
-use $batchmode
-
-* use $batchmode variable to steer control flow
-*
-* start either with
-* ngspice -b -r rawfile.raw if-batchmode.cir
-* or with
-* ngspice if-batchmode.cir
-
-v0 1 0 dc 1
-R1 1 2 1k
-C1 2 0 1u
-
-.tran 100u 10m uic
-.print tran all
-
-.control
-
-if $?batchmode
- echo "Info: batchmode has been set by command line option -b"
- echo
-else
- echo "Info: batchmode has not been set"
- echo
- unset ngdebug
- tran 100u 10m uic
- plot v(2)
-end
-
-.endc
-.end