limited

Some of the members of a set or a list: from a position (0 is the first), a number of them, as for a page. A cloud set is limited on the server and stays a set; a list where it is, giving a new list.

Runs on: either side: the compiler places the statement that calls it where the values it uses live.

Format:

limited(set_or_list, start [, count])

Parameters:

Parameter Type Description
set_or_list mixed the cloud set, or the list
start number the position of the first member wanted, 0 for the first
count number  [Optional]how many; all the rest unless given

Returned Value:

Type Description
mixed the limited set or list

Examples

page = limited(ordered(rows, "name"), 20, 20)