LIBRARY and file name completion?

May 20, 2008
10,624
81
Syracuse, NY, USA
I am here.

Code:
d:\tc25\library> d
2019-09-03  13:40              51  doperl.lib
2019-07-17  23:57             789  tl.lib
If I type

Code:
library /r <Tab>
my command line turns into

[/code]library /r doperl[/code]

and more Tab's do nothing. It'll do that even if I'm in another directory!

1. Where's it getting "doperl" in the first place? [doperl.lib contains a "doperl" library routine.]

2. Why doesn't it do ANY file name completion?
 
Hey @vefatica , on my system, it seems to be grabbing the first LIBRARY function that I have.

If I do;
Code:
c:\program files\jpsoft\tcmd25\library>library /f
0107 {
@set eventday=01-07
@set eventname=Orthodox Christmas
setevent
}
I am presented with the first Library function of my list. Now, if I do;
Code:
c:\program files\jpsoft\tcmd25\library>dir

Volume in drive C is unlabeled    Serial number is acb2:6a48
Directory of  C:\Program Files\JPSoft\TCMD25\library\*

2019-08-15  15:50         <DIR>    .
2019-08-15  15:50         <DIR>    ..
2018-05-07   5:39           5,009  astronomy.library
2018-05-03   7:29           2,028  datesubs.library
2019-05-07  16:51          11,687  dbf.library
2018-03-13  17:33             133  test.btm
2019-06-14  17:00           1,470  times.library
2019-06-03  16:23             415  vb.library
2019-04-05   9:01           2,302  vfp.library
              23,044 bytes in 7 files and 2 dirs    40,960 bytes allocated
     352,970,031,104 bytes free

c:\program files\jpsoft\tcmd25\library>library 0107
0107

c:\program files\jpsoft\tcmd25\library>ffind /t"0107" *.library

---- C:\Program Files\JPSoft\TCMD25\library\datesubs.library
0107 {
Like yourself, tab completion has the same effect here.

Joe
Code:
     _x64: 1
   _admin: 1
_elevated: 1

TCC  25.00.15 x64   Windows 10 [Version 10.0.18362.295]
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.18362 N/A Build 18362
 
May 20, 2008
10,624
81
Syracuse, NY, USA
This is better in build 17. After "LIBRARY /R" it completes file names. But I wonder about the function name completion mechanism.

After "LIBRARY /F", <Tab> completes the name of the first function it finds. After "LIBRARY /F partial_name" <Tab> completes the first matching function name. But in either case, another <Tab> does nothing. Is that WAD? Experience with file name completion makes me expect (naively) that more <Tab>s would give me more matches if there are any.