Keywords
Grid has a limited set of keywords which perform specific behaviors in different scopes.
Keyword | Scope | Behavior |
---|---|---|
module | module | Defines the current module namespace |
import | module | Imports other module namespaces into the current module |
return | function | Returns from the current function, with optional value |
yield | stateful function | Returns from the current function retaining execution state, with optional value |
continue | loop | Continues the loop immediately |
break | loop | Breaks the loop immediately, with optional value |