list beginindex endindex
Returns part of a given list starting with the beginindex and ending with the endindex.
list
beginindex
endindex
Examples:
sublist [10 11 12 13 14 15] 2 4 returns [11 12 13]
Related commands: list make-list