GetNumbers

This function evaluates to a sequence of values in a given range with a given offset.

Description

Returns a sequence of values in a given range with a given offset.

Type

LIST

Arguments

Type

Meaning

1

NUMERIC

the start value

1

NUMERIC

the end value

1

NUMERIC

the offset

Evaluation

The end value and offset are converted into the units of the start value. A list is created whose first item is the start value, the second item is the start value plus the offset, and so on, until the next value to be added to the list would not be in the range defined by the start and end value.

Comments

The units of all values must be compatible. If the offset is positive and the start value is less than the end value, the return list is empty; similarly, if the offset is negative and the start value is less than the end value, the return list is empty.

 
GetNumbers(0.0 [cfs], 10 [cms], 1 [cfs])
 
{0.0 "cfs", 1.0 "cfs", 2.0 "cfs", ... , 352.0 "cfs", 353.0 "cfs"}