2005-12-22 11:40:53 -05:00
|
|
|
subroutine getpfx2(k0,callsign)
|
|
|
|
|
|
|
|
character callsign*12
|
|
|
|
include 'pfx.f'
|
2006-04-21 10:02:46 -04:00
|
|
|
character addpfx*8
|
2005-12-22 11:40:53 -05:00
|
|
|
common/gcom4/addpfx
|
|
|
|
|
|
|
|
k=k0
|
|
|
|
if(k.gt.450) k=k-450
|
|
|
|
if(k.ge.1 .and. k.le.NZ) then
|
|
|
|
iz=index(pfx(k),' ') - 1
|
|
|
|
callsign=pfx(k)(1:iz)//'/'//callsign
|
2006-09-06 14:09:05 -04:00
|
|
|
else if(k.ge.401 .and. k.le.400+NZ2) then
|
2005-12-22 11:40:53 -05:00
|
|
|
iz=index(callsign,' ') - 1
|
|
|
|
callsign=callsign(1:iz)//'/'//sfx(k-400)
|
|
|
|
else if(k.eq.449) then
|
|
|
|
iz=index(addpfx,' ') - 1
|
2006-04-21 10:02:46 -04:00
|
|
|
if(iz.lt.1) iz=8
|
2005-12-22 11:40:53 -05:00
|
|
|
callsign=addpfx(1:iz)//'/'//callsign
|
|
|
|
endif
|
|
|
|
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|