doc fixes

This commit is contained in:
Adrian Mariano
2023-03-05 12:11:30 -05:00
parent e8c400517e
commit 2c54188c24
4 changed files with 33 additions and 17 deletions

View File

@@ -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.
// ---