Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
const [2019/05/06 10:25] neilsconst [2021/01/11 07:57] (current) neils
Line 1: Line 1:
 ====== CONST ====== ====== CONST ======
 +
 +//Since version 0.9//
  
 Syntax: Syntax:
Line 7: Line 9:
 The ''CONST'' directive defines a constant. The constant can be subsequently used as a regular variable, except that it is read-only. The ''CONST'' directive defines a constant. The constant can be subsequently used as a regular variable, except that it is read-only.
  
-Constants of any types (bytes, integers or floats) may be defined. The number must be a numeric literal (no expression is allowed here).+Constants of any numeric types (bytes, integers or floats) may be defined. The number must be a numeric literal (no expression is allowed here).
  
 Example: Example: