diff options
| author | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
| commit | cd2dad3bc7ae0ee0a18b7b20a945009362ec3851 (patch) | |
| tree | 5a622ec4193e9bc899f6499f936848a661be29cb /lib/stdmsg.f90 | |
| parent | 558c0b9d6ecf70c5222e2069ece1fea3656c75d7 (diff) | |
| parent | 291b3817bf0c7a742e9e17d42c94fc8c9530e40d (diff) | |
Merge branch 'debian/latest' into debian/trixie-backports
Diffstat (limited to 'lib/stdmsg.f90')
| -rw-r--r--[-rwxr-xr-x] | lib/stdmsg.f90 | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/lib/stdmsg.f90 b/lib/stdmsg.f90 index cc50f580..b4f41040 100755..100644 --- a/lib/stdmsg.f90 +++ b/lib/stdmsg.f90 @@ -1,43 +1,43 @@ -function stdmsg(msg0)
-
- ! Returns .true. if msg0 a standard "JT-style" message
-
- ! i3.n3
- ! 0.0 Free text
- ! 0.1 DXpeditiion mode
- ! 0.2 EU VHF Contest
- ! 0.3 ARRL Field Day <=16 transmitters
- ! 0.4 ARRL Field Day >16 transmitters
- ! 0.5 telemetry
- ! 0.6
- ! 0.7
- ! 1 Standard 77-bit structured message (optional /R)
- ! 2 EU VHF Contest (optional /P)
- ! 3 ARRL RTTY Contest
- ! 4 Nonstandard calls
-
- use iso_c_binding, only: c_bool
- use packjt
- use packjt77
-
- character*37 msg0,msg1
- character*77 c77
- logical(c_bool) :: stdmsg
-
- msg1=msg0
- i3=-1
- n3=-1
- call pack77(msg1,i3,n3,c77)
- stdmsg=(i3.gt.0 .or. n3.gt.0)
-
-!###
-! rewind 82
-! do i=1,nzhash
-! write(82,3082) i,nzhash,callsign(i),ihash10(i),ihash12(i),ihash22(i)
-!3082 format(2i5,2x,a13,3i10)
-! enddo
-! flush(82)
-!###
-
- return
-end function stdmsg
+function stdmsg(msg0) + + ! Returns .true. if msg0 a standard "JT-style" message + + ! i3.n3 + ! 0.0 Free text + ! 0.1 DXpeditiion mode + ! 0.2 EU VHF Contest + ! 0.3 ARRL Field Day <=16 transmitters + ! 0.4 ARRL Field Day >16 transmitters + ! 0.5 telemetry + ! 0.6 + ! 0.7 + ! 1 Standard 77-bit structured message (optional /R) + ! 2 EU VHF Contest (optional /P) + ! 3 ARRL RTTY Contest + ! 4 Nonstandard calls + + use iso_c_binding, only: c_bool + use packjt + use packjt77 + + character*37 msg0,msg1 + character*77 c77 + logical(c_bool) :: stdmsg + + msg1=msg0 + i3=-1 + n3=-1 + call pack77(msg1,i3,n3,c77) + stdmsg=(i3.gt.0 .or. n3.gt.0) + +!### +! rewind 82 +! do i=1,nzhash +! write(82,3082) i,nzhash,callsign(i),ihash10(i),ihash12(i),ihash22(i) +!3082 format(2i5,2x,a13,3i10) +! enddo +! flush(82) +!### + + return +end function stdmsg |
