Skip to content

Built-in function to iterate over a range of sequential numbers #4708

Answered by mitchgrout
mitchgrout asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, found it noted in the Syntax > Repetition reference:

an integer, in which case the element will be repeated that amount of time

This is definitely not expected, for index in 10 immediately looks like a syntax error to me.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@tronical
Comment options

@bjorn
Comment options

@mitchgrout
Comment options

@bjorn
Comment options

Answer selected by tronical
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants