Variables
define
Declare a named value with an explicit type.
Syntax
define <type> <name> is <value>;
How she behaves
- The type comes first: num, decimal, str, schar, boolean, any, or an array type such as num[].
- The name is then bound in the current scope.
- Use new as the value when you want an uninitialized slot.
Example
define num x is 10; define str greeting is "Hello";