Variable Declarations

FreeBASIC

Variable Declarations
 
Statements to declare and allocate space for variables.

Dim
Declares a variable at the current scope.
Const
Declares a non-modifiable variable.
Scope
Begins a new scope block.

Static
Declares variables in a procedure that retain their value between calls.
Shared
Used with Dim allows variables to be visible throughout a module.
Var
Declares variables where the data type is implied from an initializer.