Question : pascal variable declaration
Answered by : andreas-leonidou
Program PascalVariableDeclaration;
//Variable Declaration
Var
testInt: Integer;
testLongInt: longInt;
testReal: Real;
testDouble: Double;
testString: String;
testChar: Char;
Begin //Variable initialisation/assignment testInt := 101; testLongInt := 1923095023; testReal := 12.23513; testDouble := 23152350.31423525; testChar := 'a'; testString := 'hello';
End.
Source : | Last Update : Mon, 23 May 22