Skip Procedure
Creates a new list from the remaining elements in
list after skipping the first
count elements.
If
count exceeds the number of elements in
list, then an empty list is returned.
Declaration
function Skip(
list as List of T, count as Number
) as T
Parameters
Return value
A list containing the remaining elements.
Example
This example program constructs a list and then prints the elements after the first three.
Code
sub Main()
dim myList = [1, 2, 3, 4, 5, 6, 7]
dim newList = Skip(myList, 3)
for each element in newList
print element
next
end sub
Output