aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/spp/rpp/ratlibf/ctoc.f
blob: a5d3d4b3e35824b900c55de398d2b87e1ad2234d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
integer function ctoc (from, to, len)
      integer len
      integer from (100), to (len)
      integer i
      i = 1
23000 if (.not.(i .lt. len .and. from (i) .ne. -2))goto 23002
      to (i) = from (i)
23001 i = i + 1
      goto 23000
23002 continue
      to (i) = -2
      ctoc=(i - 1)
      return
      end