*/
Written some cool source code? Upload it to Programmer's Heaven.
*/

View \INTVAR2.PAS

Getting Started with the Pascal tutorial, source

Submitted By: WEBMASTER
Rating: (Not rated) (Rate It)


(* Chapter 3 - Program 2 *)
program More_Integer_Demos;

var X,Y      : integer;
    Count    : integer;

begin
   X := 12;
   Y := 13;
   Count := X + Y;
   Write('The value of X is');
   Writeln(X:4);
   Write('The value of Y is');
   Writeln(Y:5);
   Write('And Count is now ');
   Write(Count:6);
   Writeln;
end.

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.