For example, in Perl, to get a sequential array of numbers from 1 to 10, you could simply do:
@myArray = (1 .. 10);
The two periods serve as shorthand for this operations instead of making a for loop or writing the whole thing out manually. Other languages I’ve used have something similar also.
Does a similar shorthand exist in Tcl?
Not quite this one, but
Also search this for the “iota” keyword to see how this can be done using a one-liner.