The Avail Programming Language
Mobile Users: Click here to view our text rendering warning.

Declaration

A phrase specifying a new variable's name and type. (A declaration statement, like any statement, ends in a semicolon. Parameter declarations are comma-separated.)

Grammar: VARNAME : VARTYPE

Example: humidityPercent : integer

You may also specify the name, type, and initial value of a new variable using a single initialization phrase.

References: An in-depth look at declaration phrases