The keyword, const, refers to constant, by which declares something that remains constant throughout the script.
You can only declare a single constant at a time, meaning:
Simba Code:
const
// wrong b/c you can only declare one constant at a time to equal 1.
a, b, c = 1;
// wrong b/c this doesn't define anything, and a constant has to be defined so it may remain constant
d: Integer; //wrong
// correct - we define e to be constant with a value of 2.7
e = 2.7;
the var keyword, referring to Variables, are types that can be define like:
Simba Code:
var
i, x, y : Integer;
e: Extended;
arr: TIntegerArray;
.. and be manipulated within their type constraints during the script/at a later time. Variables do not remain constant like the const keyword.