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