summaryrefslogtreecommitdiff
path: root/lib/ft8var/callsign_q.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/ft8var/callsign_q.f90
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'lib/ft8var/callsign_q.f90')
-rw-r--r--[-rwxr-xr-x]lib/ft8var/callsign_q.f9050
1 files changed, 25 insertions, 25 deletions
diff --git a/lib/ft8var/callsign_q.f90 b/lib/ft8var/callsign_q.f90
index 5e453a3f..a3a9e002 100755..100644
--- a/lib/ft8var/callsign_q.f90
+++ b/lib/ft8var/callsign_q.f90
@@ -1,26 +1,26 @@
-
-! call may not start from 'Q', zero and two digits
- if(callsign(1:1).eq.'Q' .or. callsign(1:1).eq.'0' .or. callsign(1:1).eq.'/') then
- nbadcrc=1; msg37=' '; return; endif
-
- if(callsign(1:1).ge.'0' .and. callsign(1:1).le.'9') then
- if(callsign(2:2).ge.'0' .and. callsign(2:2).le.'9') then
- nbadcrc=1; msg37=' '; return; endif
- if(callsign(2:2).ge.'A' .and. callsign(2:2).le.'Z' .and. callsign(3:3).ge.'A' .and. callsign(3:3).le.'Z' &
- .and. callsign(4:4).ge.'A' .and. callsign(4:4).le.'Z') then
- nbadcrc=1; msg37=' '; return; endif
- endif
-
- if(callsign(1:1).ge.'A' .and. callsign(1:1).le.'Z') then
- if(callsign(2:2).ge.'A' .and. callsign(2:2).le.'Z' &
- .and. callsign(3:3).ge.'A' .and. callsign(3:3).le.'Z') then
- nbadcrc=1; msg37=' '; return; endif
- endif
-
- if(callsign(1:1).ge.'0' .and. callsign(1:1).le.'9') then
- if(callsign(2:2).ge.'A' .and. callsign(2:2).le.'Z' &
- .and. callsign(3:3).ge.'A' .and. callsign(3:3).le.'Z') then
- if(callsign(1:3).ne.'3DA' .and. callsign(1:3).ne.'3XY') then
- nbadcrc=1; msg37=' '; return; endif
- endif
+
+! call may not start from 'Q', zero and two digits
+ if(callsign(1:1).eq.'Q' .or. callsign(1:1).eq.'0' .or. callsign(1:1).eq.'/') then
+ nbadcrc=1; msg37=' '; return; endif
+
+ if(callsign(1:1).ge.'0' .and. callsign(1:1).le.'9') then
+ if(callsign(2:2).ge.'0' .and. callsign(2:2).le.'9') then
+ nbadcrc=1; msg37=' '; return; endif
+ if(callsign(2:2).ge.'A' .and. callsign(2:2).le.'Z' .and. callsign(3:3).ge.'A' .and. callsign(3:3).le.'Z' &
+ .and. callsign(4:4).ge.'A' .and. callsign(4:4).le.'Z') then
+ nbadcrc=1; msg37=' '; return; endif
+ endif
+
+ if(callsign(1:1).ge.'A' .and. callsign(1:1).le.'Z') then
+ if(callsign(2:2).ge.'A' .and. callsign(2:2).le.'Z' &
+ .and. callsign(3:3).ge.'A' .and. callsign(3:3).le.'Z') then
+ nbadcrc=1; msg37=' '; return; endif
+ endif
+
+ if(callsign(1:1).ge.'0' .and. callsign(1:1).le.'9') then
+ if(callsign(2:2).ge.'A' .and. callsign(2:2).le.'Z' &
+ .and. callsign(3:3).ge.'A' .and. callsign(3:3).le.'Z') then
+ if(callsign(1:3).ne.'3DA' .and. callsign(1:3).ne.'3XY') then
+ nbadcrc=1; msg37=' '; return; endif
+ endif
endif \ No newline at end of file