aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

§ 4.53 - [lslice] Built-In

Mnemonic aid: dlist

See also:  [dlist] )

Slices one list into another, or the same, list. sliceSpec can be any of the following, where a, b and c are integers::

a ------pulls that element out of the list
a:b ----pulls from a to b-1
a:b:c --pulls from a to b-1, stepping by c
:b -----pulls from beginning to b-1
a: -----pulls from a to end
::c ----pulls from beginning to end, stepping by c
:b:c ---pulls from beginning to b-1, stepping by c
a::c ---pulls from a to end, stepping by c
Tip: When a slice component a or b is negative, then it refers to a list element relative to the end of the list. When c is negative, the step goes from the end of the list towards the beginning of the list.

Other built-ins used here:  [dlist] )

Keyboard Navigation
, Previous Page . Next Page t TOC i Index
This manual was generated with wtfm
on January 10th, 2026 at 2:38 MT
wtfm uses aa_macro and SqLite
aa_macro uses Python 2.7