CONST


Language statement CONST


10
20  CONST name = expr
30
Declare a variable who’s value does not change during program execution.


See examples


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 an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

  • name – An identifier that follows the rules for naming BASIC variables.
  • expr – An expression consisting of literals, with or without operators, only.
COSNT G = 6.67259E-11