Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

Official ZPE/YASS documentationrange

range (integer max[, integer min]) ⇒ list

Generates a list of integers ranging from the minimum to the maximum. The third parameter can be a boolean to indicate whether the range should include the maximum value or an number to indicate the incrementer.

First available: Version 1.4.1.0

Using the range function like Python

The range function is designed to simulate what Python does with its range predefined function. The following example shows this:

YASS
for each($value in range(0, 10))
  print($value)
end for
    
Feedback 👍
Comments are sent via email to me.