CONST

CONST name = expr

Declare a variable name who’s value does not change during program execution. name follows the rules for naming SmallBASIC variables. expr is an expression consisting of literals, with or without operators, only.

Example

CONST G = 6.67259E-11
CONST PISQUARE = PI^2
Language
If there is insufficient information on this page and you wish learn more about CONST, please send an email to smallbasic@gmail.com. You can help to improve information about CONST by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.