CALM COOL COLLECTED

,3:Here is some open source Pascal and Software;

AN EXPLANATION IS GIVEN IN THE FORM OF A BRIEF LESSON ON HOW TO READ INTERPRET UNDERSTAND, AND APPLY THE BASICS OF THIS PROGRAMMING LANGUAGE.

TO MOST SOFTWARE & ELECTRONIC ENGINEERS THIS WILL BE STRAIGHT FORWARD PRACTICE, WITH THE NEW STUDENTS

BEING INTRODUCED GRADUALLY.

 An example of how a basic form of Pascal Program can be realized is shown below and on successive pages, subsequently.

 (Note with some earlier versions there was Case sensitivity, nowadays either lower or higher  Casing may be used wherever applicable, and that reserved words such as Program, v a r,  begin, end, real, integer etc... have special meanings and uses and must not be used for other purposes)

 I GEORGE: November 21st 2018 update.


,

  PROGRAM the name is called( file 1, file 2);

       declaration block 

  BEGIN

       statement block

  END.

So with the program  exercise example included as shown below

  PROGRAM exercise_1(INPUT, OUTPUT);

  VAR number_1, number_2, result : REAL;

  BEGIN

        WRITELN('Please enter the two numbers to be added?');

        READLN(number_1 , number_2);

        result:= number_1 + number_2  ;

        WRITELN(' The result is equal to ',     );

  END;

Note: *when the Programmer or Student keys in the 'ACTUAL'  'Input Code' there are usually no spaces(gaps)allowed in the Control Statement commands of the instruction Line within the Program(unless later versions of the Software are used in which this, & case sensitivity may not matter),

 

© Copyright ivrtechnovationinnovation_igenm