file: 10-C-lists.muf package: muf status: alpha
The subseq
function returns a copy of the
indicated part of list
. The first element
of the list is position zero, as usual. Both
start
and end
should be whole
numbers. The result will contain those values
from positions numbered start
or greater,
but less than end
:
Stack: [ 'a 'b 'c 'd 'e ]l 2 4 subseq printList Stack: "[ 'c 'd ]l"
Go to the first, previous, next, last section, table of contents.