Skip to main content

Character arrays

Laurence MorganLess than 1 minutemkarray

Character arrays

Making character arrays (a to z)

Description

You can create arrays from a range of letters (a to z):

» a [a..z]
» a [z..a]
» a [A..Z]
» a [Z..A]

...or any characters within that range.

Please refer to a (mkarray) for more detailed usage of mkarray.

Usage

a: [start..end] -> <stdout>
a: [start..end,start..end] -> <stdout>
a: [start..end][start..end] -> <stdout>

All usages also work with ja and ta as well, eg:

ja: [start..end] -> <stdout>
ta: data-type [start..end] -> <stdout>

You can also inline arrays with the %[] syntax, eg:

%[start..end]

Examples

» a [a..c]
a
b
c
» a [c..a]
c
b
a

See Also


This document was generated from builtins/core/mkarray/ranges_doc.yamlopen in new window.

Last update:
Contributors: Laurence Morgan,Laurence Morgan