Contents
Syntax
The syntax for
for{options}(pre-loop code; condition; post-iteration code)
{
//loop code-block
}
@for{options}(pre-loop code; condition; post-iteration code)
{
//loop code-block
}
Note: Single-line code blocks do not need to be enclosed in parentheses.
Description
The
Note:
Note: If not writing to the output file
@for{!o}(pre-loop code; condition; post-iteration code)
{
# block
}!
Options
The following options are available for
| option | description |
|---|---|
| parse |
|
| parse |
|
| do not add output | |
| add scope | |
| do not add scope | |
| do not add newline between each loop iteration | |
| add double newline between each loop iteration | |
| add |
|
| option | description |
f++ example
Examples of
for(int i=0; i < 10; i+=1)
console("i: ", i)
for{!s, !o}(int i=0; i<10; i+=1)
console("i: $[i]")
n++ example
Examples of
@for(int i=0; i < 10; i+=1)
@console("i: ", i)
@for{f++, !s, !o}(int i=0; i<10; i+=1)
console("i: $[i]")

![[ports] (FreeBSD) Get it from the FreeBSD [ports]](../../images/freebsd.webp)
