1:         program tst
   2: c to test various syslib routines
   3:         external ntest
   4:         character*10 num(10)
   5:         do 10 i=1,10
   6:         write(*,'(i2,": ",$)') i
   7:    10   read(*,*) num(i)
   8:         write(*,*) num
   9:         call qsort(num, 10, 10, ntest)
  10:         write(*,*) num
  11:         end
  12: 
  13:         integer*2 function ntest(i1, i2)
  14:         character*10 i1, i2
  15:         ntest = 0
  16:         if (lgt(i1,i2)) ntest = 1
  17:         if (llt(i1,i2)) ntest = -1
  18:         return
  19:         end
Last modified: 1987-02-18
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1185
Valid CSS Valid XHTML 1.0 Strict