Chasester_aka_you | 2010-03-16 16:21
Complete function Revised
7
points ]
 (1 vote)

The complete function that is a built-in function, so i was wondering what exactly it is used for.

I am trying to dynamically load files from a file command. The complete command run to check to see if the givin information is found in a file directory. Example:

complete string directory *.extention

This function as far as i can tell is ran when some one hit the tab key to complete the function / varible / paramater that has been typed in, or return nothing if that is the case.

I was wondering how does it add it to the ccommand (console command) or does it add to some array that i could use that is found in the script.

What i am hoping this does is sets the return value of the function complete to an array, this way i can use it in a menu.

7
points
 (1 vote)
User login
Users on Quadropolis
1 guest & no users online
Created 2022-01-23 15:48
1 day 22 hours ago
Created 2021-11-05 01:27
11 weeks 4 days ago
36
points ]
 (4 votes)
Created 2020-12-10 12:49
1 year 6 weeks ago
32
points ]
 (4 votes)
Created 2012-08-30 04:30
9 years 21 weeks ago
10
points ]
 (1 vote)
Created 2019-10-16 01:26
2 years 14 weeks ago
9
points ]
 (1 vote)
Created 2021-06-17 22:42
31 weeks 4 days ago
30
points ]
 (3 votes)
Created 2020-11-30 04:00
1 year 8 weeks ago
10
points ]
 (1 vote)
Created 2021-05-24 00:01
35 weeks 1 day ago
MisanthropX
92
points ]
 (10 votes)
Created 2019-12-05 20:57
2 years 7 weeks ago
20
points ]
 (2 votes)
Created 2020-12-20 03:04
1 year 5 weeks ago
30
points ]
 (3 votes)
Created 2020-12-04 12:05
1 year 7 weeks ago
20
points ]
 (2 votes)
Created 2020-12-03 17:12
1 year 7 weeks ago
30
points ]
 (3 votes)
Created 2020-06-13 21:05
1 year 32 weeks ago
60
points ]
 (6 votes)
Created 2020-01-23 12:57
2 years 3 days ago
78
points ]
 (8 votes)
Created 2020-10-11 13:46
1 year 15 weeks ago
64
points ]
 (7 votes)
Created 2018-12-04 15:12
3 years 7 weeks ago
Gangler
36
points ]
 (4 votes)
Created 2020-10-22 00:50
1 year 13 weeks ago
LURKing
13
points ]
 (2 votes)
Created 2020-11-22 21:21
1 year 9 weeks ago
LURKing
37
points ]
 (4 votes)
Created 2020-11-18 21:08
1 year 9 weeks ago
Shuzomi
30
points ]
 (3 votes)
Created 2020-11-15 18:16
1 year 10 weeks ago
Who's new
  • letic86
  • BATMAN
  • WASP
  • Im_Percynator
  • micai