To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationrange

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

Generates a list of integers ranging from the minimum to the maximum.

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
    
Comments
Code previewClose
Feedback 👍
Comments are sent via email to me.