Sign In

$loop[]

Executes given code for N times

v1.4.0+ Requires Brackets Experimental
Warning

This is an experimental function. It may not work as expected and is not guaranteed to be stable. Expect bugs, changes, or removal.

Usage

$loop[;;;]

Arguments

NameTypeRequiredDescription
times
NumberYesHow many times to run the code
code
StringYesThe code to execute
variable
StringNoThe variable to load the current iteration count for $env
asc
BooleanNoWhether to use asc order for iteration count

Was this page helpful?