search

hubmud/db/help/ahelp/search · 522 B

From the archive hubmud-linux-0.5.5.tgz

Download the archive   « Back to the archive contents

SEARCH

** not yet implemented **

Syntax:

 search( list, condition, timeout)

The function is non-blocking and performs a search of list
(which may be any type of variable). When condition is met
or more seconds than timeout allows have elapsed, the search
is terminated.  

The function is useful for searches of huge data lists when speed
is not a factor.

RETURNS
 A match is returned or 0 on failure.  

EXAMPLE
 
 object start = USER_LIST;
 while((start=search( start , start , 200)) { uprint(start->uid,CALLER); }

Site Stats

Snippets: 1791
Codebases: 571