Basics¶
The building blocks every Dream program uses: named values, operators, decisions, and loops.
- VariablesName values with
letandconst, with types inferred for you. - OperatorsArithmetic, comparison, logical, and assignment operators.
- Control flowChoose with
ifandswitch, repeat with loops. - Names, types, and sizesInspect a name, type description, or storage size with
nameof,typeof, andsizeof. - CommentsLeave notes for readers and document public declarations.