aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/spp/rpp/rpprat/finit.r
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /unix/boot/spp/rpp/rpprat/finit.r
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'unix/boot/spp/rpp/rpprat/finit.r')
-rw-r--r--unix/boot/spp/rpp/rpprat/finit.r24
1 files changed, 24 insertions, 0 deletions
diff --git a/unix/boot/spp/rpp/rpprat/finit.r b/unix/boot/spp/rpp/rpprat/finit.r
new file mode 100644
index 00000000..8ca1ecf5
--- /dev/null
+++ b/unix/boot/spp/rpp/rpprat/finit.r
@@ -0,0 +1,24 @@
+#-h- finit 432 local 12/01/80 15:54:07
+# finit - initialize for each input file
+ include defs
+
+ subroutine finit
+
+ include COMMON_BLOCKS
+
+ outp = 0 # output character pointer
+ level = 1 # file control
+ linect (1) = 0
+ sbp = 1
+ fnamp = 2
+ fnames (1) = EOS
+ bp = PBPOINT
+ buf (bp) = EOS # to force a read on next call to 'ngetch'
+ fordep = 0 # for stack
+ fcname (1) = EOS # current function name
+ swtop = 0 # switch stack
+ swlast = 1
+ swvnum = 0
+ swvlev = 0
+ return
+ end