|        | |||||
|  | |||||
| Declaration-free programs | |||||
| Prerequisite Concepts | Related Syntax | ||||
Declaration-free programs are very useful for quick programs that are used a few times and then discarded. They are also convenient for prototyping parts of a large system.
Declaration-free programs have the following restrictions:
declare heralded-names declaration.
switch, counter, stream or pattern must precede a variable name whenever it is used in any context that allows variables of different types.
Wherever this documentation indicates an optional type herald, that herald is required for declaration-free programs.
| Prerequisite Concepts Counters Declarations Function types and anatomy Heralds Switches | Related Syntax declare heralded-names pattern | 
| ---- |