Parameters are what you enter in procedures and functions. For example, in the procedure Wait, the amount of time you enter is the parameter:
Simba Code:
program new;
begin
Wait(1000); // 1000 IS THE PARAMETER HERE
end.
Strings are variables which are bits of text:
Simba Code:
program new;
var
S : string;
begin
S:= 'Hey :D';
end.
Integers are also variables but are whole numbers:
Simba Code:
program new;
var
I : Integer;
begin
I:= 1;
end.
An Extended is similar to an Integer, but can cope with decimal points. And it's a variable:
Simba Code:
program new;
var
E : Extended;
begin
E:= 2.3562
end.
Booleans are, like you said, True or False. Again, a variable:
Simba Code:
program new;
var
B : Boolean;
begin
B:= True;
end.
Check out my guide on Procedures and Functions.
Constants are what are we set before the script even starts:
Simba Code:
program new;
const
WaitTime = 1000;
begin
Wait(WaitTime);
end.
Variables, like in chemistry, can be changed throughout the script:
Simba Code:
program new;
var
WaitTime : Integer;
begin
WaitTime:= 1000;
Wait(WaitTime);
WaitTime:= 2000;
Wait(WaitTime);
end.
You've probably guessed by now that all are declared like that, with the desired name, followed by a colon and then the type.
A global variable is one which is declared outside of an procedures or functions, like the one above. A local variable is the opposite:
Simba Code:
program new;
var
WaitTime : Integer;
begin
WaitTime:= 1000;
Wait(WaitTime);
WaitTime:= 2000;
Wait(WaitTime);
end.
Trying to use a local variable outside of that procedure will give an error, but you can use the same name in other procedures.
Parenthesis are brackets.