Ranges
Defining a Range
Use a range in SenseTalk to indicate a range of values. A range is specified by giving a start value and an end value, using either a double-dot operator (two periods in a row, ..
) or the word to
between the two values.
Syntax:
{from} startValue [ to | .. ] endValue { [{step{ping}} {down} by | step] stepvalue }
Example:
put 1 to 100 into firstHundred
set validRange to 100..200