summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/control_structs/if-batchmode.cir
diff options
context:
space:
mode:
authorrahulp132021-01-07 07:55:48 +0530
committerrahulp132021-01-07 07:55:48 +0530
commit088203b088a02eabb4606dc734e901b81f237b11 (patch)
treeebe9109661a149c82fc66599a6ce8103637d0b4a /Windows/spice/examples/control_structs/if-batchmode.cir
parentac223c4a69c701ad0a247401acdc48b8b6b6dba6 (diff)
downloadeSim-088203b088a02eabb4606dc734e901b81f237b11.tar.gz
eSim-088203b088a02eabb4606dc734e901b81f237b11.tar.bz2
eSim-088203b088a02eabb4606dc734e901b81f237b11.zip
removed outdated dependencies
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