- Subject: [slang-users] Range array docs
- From: Duke Normandin <dukeofperl@xxxxxxxxxxx>
- Date: Tue, 20 Nov 2012 17:48:29 -0700
The docs say:
--------------------------------8<--------------------------
The syntax for the most general form of range array is given by
[first-value : last-value : increment]
--------------------------------8<--------------------------
The examples show e.g.:
[0:1:#5] ==> [0.0, 0.25, 0.50, 0.75, 1.0]
[0:-1:#3] ==> [0.0, -0.5, -1.0]
The increment must be preceded by a # sign, I take it. I was looking
for confirmation of this point, but couldn't find any mention of
using the # prefix.
Perhaps the syntax explanation above, could be adjusted to reflect
the need for the # prefix?? Just a suggestion ...
--
Duke
[2012 date index]
[2012 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]