Range

or Sequence is a dyadic primitive function which creates a vector of consecutive integers based on the start and end values given by its arguments. It serves as an index origin-agnostic alternative to Index Generator for creating a range of numbers. Range is currently implemented in NARS2000 (using the digraph ), Extended Dyalog APL, and dzaima/APL.

Basic usage
If both arguments are scalar integers, Range creates the consecutive range between the two arguments inclusive. If the left argument is greater than the right argument, the result becomes a decreasing sequence.

It should be noted that, since the exact definition of Range has never been standardised, a different implementation might as well choose to return  or even throw a DOMAIN ERROR for   when.

Extensions
NARS2000 supports step size and multi-dimensional range (giving the result similar to multi-dimensional Index Generator):

In Extended Dyalog APL, the extension is focused on making it easier to produce integer or character vector constants:

Documentation

 * NARS2000