You can dimension your Variables and Strings in Pascal style or / and in Basic style.
Pascalstyle:
VAR i: Integer a,b,c: Byte st: String car: Array[0..10] of Integer
In Pascalstyle you must declare the Variables before the BEGIN Statement.
Basicstyle:
DIM i as Integer DIM a,b,c as Byte DIM st as String DIM car as Array[0..10] of Integer
or use the doublepoint
DIM i : Integer DIM a,b,c : Byte DIM st : String DIM car : Array[0..10] of Integer
In Basicstyle you can declare your Variables elsewhere in your code, except before the BEGIN Statement. |