mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
2c17544f3f
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/WSJT/trunk@1 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
28 lines
554 B
Fortran
28 lines
554 B
Fortran
subroutine chkmsg(message,cok,nspecial,flip)
|
|
|
|
character message*22,cok*3
|
|
|
|
nspecial=0
|
|
flip=1.0
|
|
cok=" "
|
|
|
|
do i=22,1,-1
|
|
if(message(i:i).ne.' ') go to 10
|
|
enddo
|
|
i=22
|
|
|
|
10 if(i.ge.11 .and. message(i-3:i).eq.' OOO') then
|
|
cok='OOO'
|
|
flip=-1.0
|
|
message=message(1:i-4)
|
|
endif
|
|
|
|
if(message(1:3).eq.'ATT') nspecial=1
|
|
if(message(1:2).eq.'RO') nspecial=2
|
|
if(message(1:3).eq.'RRR') nspecial=3
|
|
if(message(1:2).eq.'73') nspecial=4
|
|
|
|
return
|
|
end
|
|
|