summaryrefslogtreecommitdiff
path: root/lib/qso50/twq.f90
diff options
context:
space:
mode:
authorEnrico Rossi <e.rossi@tecnobrain.com>2018-11-03 17:52:26 +0100
committerEnrico Rossi <e.rossi@tecnobrain.com>2018-11-03 17:52:26 +0100
commitb4aebf2d137b892f53503b13785ecae900062ff7 (patch)
tree3ba99b2baec2292f2e13bfe90a5e401a5f4c47a5 /lib/qso50/twq.f90
parent37f727ac0746fd85504aa46c1f023c09b3eff33a (diff)
New upstream version 1.9.1+repackupstream/1.9.1+repack
* Drop local hamlib copy (commit d1b545be). * Drop local boost copy (1.63.0).
Diffstat (limited to 'lib/qso50/twq.f90')
-rw-r--r--lib/qso50/twq.f9018
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/qso50/twq.f90 b/lib/qso50/twq.f90
new file mode 100644
index 00000000..9fdb2638
--- /dev/null
+++ b/lib/qso50/twq.f90
@@ -0,0 +1,18 @@
+program twq
+
+ character*22 msg0,msg
+ integer*1 data0(11)
+
+ open(10,file='wqmsg.txt',status='old')
+ write(*,1000)
+1000 format(4x,'Encoded message',9x,'Decoded as',12x,'itype'/55('-'))
+
+ do line=1,9999
+ read(10,*,end=999) msg0
+ call wqenc(msg0,itype,data0)
+ call wqdec(data0,msg,ntype)
+ write(*,1100) line,msg0,msg,ntype
+1100 format(i2,'.',1x,a22,2x,a22,i3)
+ enddo
+
+999 end program twq