aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/spp/rpp/ratlibf/getccl.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/boot/spp/rpp/ratlibf/getccl.f
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'unix/boot/spp/rpp/ratlibf/getccl.f')
-rw-r--r--unix/boot/spp/rpp/ratlibf/getccl.f25
1 files changed, 25 insertions, 0 deletions
diff --git a/unix/boot/spp/rpp/ratlibf/getccl.f b/unix/boot/spp/rpp/ratlibf/getccl.f
new file mode 100644
index 00000000..67ac73fa
--- /dev/null
+++ b/unix/boot/spp/rpp/ratlibf/getccl.f
@@ -0,0 +1,25 @@
+ integer function getccl (arg, i, pat, j)
+ integer arg (128), pat (128)
+ integer i, j
+ integer jstart, junk
+ integer addset
+ i = i + 1
+ if (.not.(arg (i) .eq. 126))goto 23000
+ junk = addset (110, pat, j, 128)
+ i = i + 1
+ goto 23001
+23000 continue
+ junk = addset (91, pat, j, 128)
+23001 continue
+ jstart = j
+ junk = addset (0, pat, j, 128)
+ call filset (93, arg, i, pat, j, 128)
+ pat (jstart) = j - jstart - 1
+ if (.not.(arg (i) .eq. 93))goto 23002
+ getccl = -2
+ goto 23003
+23002 continue
+ getccl = -3
+23003 continue
+ return
+ end