Range.makeRange

Creates another range that points to all entries of the range.

Arguments

None

Return values

The resulting

range
.

Complexity

Constant

Example

"sl/array" useFile "sl/algorithm" useFile a: (-1 -2 -10 -50) makeArray; r: (1 2 10 50) range; ra: a.makeRange; rr: r.makeRange; ra [print "," print TRUE] enum LF print rr [print "," print TRUE] enum
Output:
-1,-2,-10,-50, 1,2,10,50,