mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-17 17:42:02 -05:00
e7c1d178b3
file names. decode2: Corrected starting locations of mouse-picked decodes in JT6M mode decode3, pix2d: Put yellow tick marks at frequency of JT6M sync tone. wsjtgen: Remove diagnostic print statement associated with Tx of test files. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@230 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
31 lines
644 B
Fortran
31 lines
644 B
Fortran
|
|
subroutine get_fname(hiscall,ntime,trperiod,lauto,fname)
|
|
|
|
#ifdef Win32
|
|
use dfport
|
|
#endif
|
|
|
|
character hiscall*12,fname*24,tag*7
|
|
integer ntime
|
|
integer trperiod
|
|
integer it(9)
|
|
|
|
n1=ntime
|
|
n2=(n1+2)/trperiod
|
|
n3=n2*trperiod
|
|
call gmtime(n3,it)
|
|
it(5)=it(5)+1
|
|
it(6)=mod(it(6),100)
|
|
write(fname,1000) (it(j),j=6,1,-1)
|
|
1000 format('_',3i2.2,'_',3i2.2,'.WAV')
|
|
tag=hiscall
|
|
i=index(hiscall,'/')
|
|
if(i.ge.5) tag=hiscall(1:i-1)
|
|
if(i.ge.2.and.i.le.4) tag=hiscall(i+1:)
|
|
if(hiscall(1:1).eq.' ' .or. lauto.eq.0) tag='Mon'
|
|
i=index(tag,' ')
|
|
fname=tag(1:i-1)//fname
|
|
|
|
return
|
|
end subroutine get_fname
|