-
Notifications
You must be signed in to change notification settings - Fork 0
Repeat Statements
Benedict Albrecht edited this page May 20, 2026
·
4 revisions
The repeat statement indicates that the syntax within it can repeat multiple times in succession. An empty string (zero occurrences) is also accepted.
<? ... ?>
A function with a comma-separated parameter list:
<:function:> function <<name>> ( <? <<var>> <| , <||> |> ?> ) { <---> } <:>
This matches:
-
function myFunc ( ) { ... }— zero parameters -
function myFunc ( x ) { ... }— one parameter -
function myFunc ( x , y ) { ... }— multiple parameters -
function myFunc ( x , y , z ) { ... }— any number of parameters
The <| , <||> |> inside the repeat provides an optional comma separator between repetitions.
- Getting Started
- Sign-Up
- Home Screen
- Creating Your First Template
- Template Editor
- Application Navigation
- Syntax Overview
- Workflow: End-to-End
- Workflow: Test with simpleDemo
- Workflow: Build Template from angularTemp
- Demo Repositories
- Template
- Workbench
- GitHub Integration
- GitHub App Installation
- GitHub Repository Setup
- GitHub Re-linking
- Settings
- Overview
- Declarations
- Types
- Scoping