Functions Documentation | |
Name | lookup |
Syntax | (lookup source target keyIndex) -> found entry |
Argument List | source: the list to do the lookup in target: the key to find keyIndex: the index in the source that the target will be looked for |
Returns | the found entry, if any (nil otherwise) |
Category | list |
Description | Useful for extracting lists within lists |
Example |
(setq theList (list 1 'one) (list 2 'two)) (lookup theList 'one 1) -> (list 1 'one) (lookup theList 2 0) -> (list 2 'two) |
Comment |
Mod of the Month (April '24) |
Featured Mods (random) |
SFItemGraphics LT |
XML resources 1.08fa |
Quality Mods (random) |
SFItemGraphics LT |
Gravity |
Balanced Mods (random) |
Starlight-class cruiser |
Visible Damage V2 |