editor


tutorial




Logoi Tutorial (Part II):
Constants


" 名可名,非恆名。"

"The Name that can be Name(d) [is] not the eternal Name."

老子 / Laozi




;
; What is a constant?
;

;
; A constant is a symbol which refers to its own value.
;




Boolean Truth-Values

true

yes

false

no

alert!/String
string/Boolean
xor/Boolean/Boolean
true
true




Numbers

-1

0

1

123

3.14159

alert!/String
string/Natural
sum/Natural/Natural
2
2




Double-quoted Text ("Strings")

"Logoi"

"#0a0612"

"Anything you can manage to fit between a pair of double-quote (") characters"

"https://logoi.website/tutorial/constants/"

"127.0.0.1"

"0:0:0:0:0:0:0:1"

"(36.1497°N, 86.8133°W)"

alert!/String
join/Strings
"Supercali"
"fragilistic"
"expialidocious"




Next: variables