aboutsummaryrefslogtreecommitdiff
path: root/unix/gdev/m70vms/m70cls.f
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /unix/gdev/m70vms/m70cls.f
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'unix/gdev/m70vms/m70cls.f')
-rw-r--r--unix/gdev/m70vms/m70cls.f26
1 files changed, 26 insertions, 0 deletions
diff --git a/unix/gdev/m70vms/m70cls.f b/unix/gdev/m70vms/m70cls.f
new file mode 100644
index 00000000..9eb2fcd3
--- /dev/null
+++ b/unix/gdev/m70vms/m70cls.f
@@ -0,0 +1,26 @@
+ subroutine m70cls (fcb)
+c
+c Routine to close model 70 display
+c
+ integer fcb(*)
+ include 'fcbu.inc'
+c
+ integer*4 sys$dassgn, chan, junk
+ integer*2 chan2(2)
+ equivalence (chan, chan2)
+c
+c call wtexec (fcb)
+c
+ chan2(1) = fcb(fcb_u_m70_chan)
+ chan2(2) = fcb(fcb_u_m70_chan+1)
+c
+c if (chan.ne.0) call lib$signal (%val(sys$dassgn (%val(chan))))
+ if (chan.ne.0) then
+ junk = sys$dassgn (%val(chan))
+ endif
+c
+ fcb(fcb_u_m70_chan) = 0
+ fcb(fcb_u_m70_chan+1) = 0
+c
+ return
+ end