# Constants in Ruby being with a capital letter. Will throw a warning or error, depending on runtime settings. Name = "John" # Not a constant name = "John"
const FOO = 123; const void* BAR = null;
constants Opened = 1 Closed = 2
const PI = 3.14159265359
Languages without Constants include progsbase
This question asks: Does the language have a way to declare constant compile time variables?
Read more about Constants on the web: 1.
HTML of this page generated by Features.ts