summaryrefslogtreecommitdiff
path: root/lib/ft8var/call_q.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ft8var/call_q.f90')
-rwxr-xr-xlib/ft8var/call_q.f9010
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/ft8var/call_q.f90 b/lib/ft8var/call_q.f90
new file mode 100755
index 00000000..9cbad578
--- /dev/null
+++ b/lib/ft8var/call_q.f90
@@ -0,0 +1,10 @@
+
+! call may not start from 'Q', zero and two digits
+ if(call_a(1:1).eq.'Q' .or. call_b(1:1).eq.'Q') then
+ nbadcrc=1; msg37=' '; return; endif
+ if(call_a(1:1).eq.'0' .or. call_b(1:1).eq.'0') then
+ nbadcrc=1; msg37=' '; return; endif
+ if(call_a(1:1).ge.'0' .and. call_a(1:1).le.'9' .and. call_a(2:2).ge.'0' .and. call_a(2:2).le.'9') then
+ nbadcrc=1; msg37=' '; return; endif
+ if(call_b(1:1).ge.'0' .and. call_b(1:1).le.'9' .and. call_b(2:2).ge.'0' .and. call_b(2:2).le.'9') then
+ nbadcrc=1; msg37=' '; return; endif \ No newline at end of file