Code Block |
---|
set obj [objarray new_from_to |
...
<type> <from> <to>] |
Allocate an array of type $type filled with integer-like values increasing from $from to $to
...
<type>: chararray shortarray intarray longarray longlongarray floatarray doublearray
...
<to> arbitrary integer value greater or equal than <from>
e.g.
Code Block |
---|
set obj [objarray new_from_to intarray -3 2]
-> -3 -2 -1 0 1 2 |