summaryrefslogtreecommitdiff
path: root/map65/libm65/chkhist.f90
diff options
context:
space:
mode:
Diffstat (limited to 'map65/libm65/chkhist.f90')
-rw-r--r--[-rwxr-xr-x]map65/libm65/chkhist.f9046
1 files changed, 23 insertions, 23 deletions
diff --git a/map65/libm65/chkhist.f90 b/map65/libm65/chkhist.f90
index a8b272a6..c814c3ca 100755..100644
--- a/map65/libm65/chkhist.f90
+++ b/map65/libm65/chkhist.f90
@@ -1,23 +1,23 @@
-subroutine chkhist(mrsym,nmax,ipk)
-
- integer mrsym(63)
- integer hist(0:63)
-
- do i=0,63
- hist(i)=0
- enddo
- do j=1,63
- i=mrsym(j)
- hist(i)=hist(i)+1
- enddo
-
- nmax=0
- do i=0,63
- if(hist(i).gt.nmax) then
- nmax=hist(i)
- ipk=i+1
- endif
- enddo
-
- return
-end subroutine chkhist
+subroutine chkhist(mrsym,nmax,ipk)
+
+ integer mrsym(63)
+ integer hist(0:63)
+
+ do i=0,63
+ hist(i)=0
+ enddo
+ do j=1,63
+ i=mrsym(j)
+ hist(i)=hist(i)+1
+ enddo
+
+ nmax=0
+ do i=0,63
+ if(hist(i).gt.nmax) then
+ nmax=hist(i)
+ ipk=i+1
+ endif
+ enddo
+
+ return
+end subroutine chkhist