-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SatCom: add searchall and improve search
- Loading branch information
1 parent
910b0dd
commit 1be159b
Showing
3 changed files
with
41 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
\b;Instruction \c;searchall\n; | ||
\c;searchall\n; is an enhancement of the \c;\l;search\u cbot\search;()\n; instruction -- it detects all objects matching the given criteria. | ||
|
||
\b;For specialists | ||
\t;Syntax: | ||
\s;\c;searchall ( category, center, min, max, sens, filter );\n; | ||
|
||
The instruction works generally the same as the \c;\l;search\u cbot\search;();\n; instruction with the only difference being that it returns an \l;array\u cbot\array; of \l;objects\u cbot\object; instead of one object. If no object is found, an empty array (\c;\l;null\u cbot\null;\n;) is returned. | ||
|
||
The order of objects in the returned array is sorted by distance and depends on the \c;sens\n; parameter. The first object in the array is the object which would be returned by the \c;search();\n; function called with the exactly same parameters. | ||
|
||
\t;See also | ||
\c;\l;search\u cbot\search;();\n;, \l;programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters