mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-09-02 02:02:36 +02:00
doc fixes
This commit is contained in:
@@ -802,12 +802,14 @@ function list_remove_values(list,values=[],all=false) =
|
||||
|
||||
// Function: idx()
|
||||
// Usage:
|
||||
// rng = idx(list, [s=], [e=], [step=]);
|
||||
// range = idx(list, [s=], [e=], [step=]);
|
||||
// for(i=idx(list, [s=], [e=], [step=])) ...
|
||||
// Topics: List Handling, Iteration
|
||||
// See Also: pair(), triplet(), combinations(), permutations()
|
||||
// See Also: count()
|
||||
// Description:
|
||||
// Returns the range of indexes for the given list.
|
||||
// Returns the range that gives the indices for a given list. This makes is a little bit
|
||||
// easier to loop over a list by index, when you need the index numbers and looping of list values isn't enough.
|
||||
// Note that the return is a **range** not a list.
|
||||
// Arguments:
|
||||
// list = The list to returns the index range of.
|
||||
// ---
|
||||
|
Reference in New Issue
Block a user