Futurebasic/Language/Reference/constant declaration

= Constant declaration statement =

Statement
✔ Appearance ✔ Standard ✔ Console

Description
This is a non-executable statement which assigns the value of  to the symbolic constant indicated by. The  must indicate a name which was not defined anywhere previously in the program, and which is different from all pre-defined FB symbolic constant names. The name must be preceded by an underscore character. The  must be a "static integer expression"; it cannot contain any variables nor function references.

The constant declaration statement is one of several ways to assign values to symbolic constant names. Other ways include using the  statement and using the   statement.