summaryrefslogtreecommitdiff
path: root/lib/qso50/packtext2.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
committerChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
commitf647d78463c1250ce9c99af664615fafccf5e959 (patch)
tree5b00428cef68aef1c9d407e2d4535687422419b6 /lib/qso50/packtext2.f90
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'lib/qso50/packtext2.f90')
-rw-r--r--[-rwxr-xr-x]lib/qso50/packtext2.f9044
1 files changed, 22 insertions, 22 deletions
diff --git a/lib/qso50/packtext2.f90 b/lib/qso50/packtext2.f90
index d54b52fb..46fd577c 100755..100644
--- a/lib/qso50/packtext2.f90
+++ b/lib/qso50/packtext2.f90
@@ -1,22 +1,22 @@
-subroutine packtext2(msg,n1,ng)
-
- character*8 msg
- real*8 dn
- character*41 c
- data c/'0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ +./?'/
-
- dn=0.
- do i=1,8
- do j=1,41
- if(msg(i:i).eq.c(j:j)) go to 10
- enddo
- j=37
-10 j=j-1 !Codes should start at zero
- dn=41.d0*dn + j
- enddo
-
- ng=mod(dn,32768.d0)
- n1=(dn-ng)/32768.d0
-
- return
-end subroutine packtext2
+subroutine packtext2(msg,n1,ng)
+
+ character*8 msg
+ real*8 dn
+ character*41 c
+ data c/'0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ +./?'/
+
+ dn=0.
+ do i=1,8
+ do j=1,41
+ if(msg(i:i).eq.c(j:j)) go to 10
+ enddo
+ j=37
+10 j=j-1 !Codes should start at zero
+ dn=41.d0*dn + j
+ enddo
+
+ ng=mod(dn,32768.d0)
+ n1=(dn-ng)/32768.d0
+
+ return
+end subroutine packtext2