• Image 1
  • Image 2
  • Image 3
  • Image 4
  • Image 5
  • Image 6
  • Image 7




Saturday, August 18, 2012

INTRODUCTION PASCAL

Hi.. welcome to my blog in “We Are Knowledge”… In here you will getting many IT knowledge, like as : Web programing, example : HTML and PHP. Dektop programing, example : PASCAL, 
COBOL, C++ and other program language. And general knowledge.

Now..  want giving you knowledge about dekstop programing, that is program language “PASCAL”. I want giving you introduction about it, like as : history, structures, example program, and other…

Ok.. let’s do read my article.

1.1 History of Pascal

PASCAL is program language based dekstop programming and made by Prof. Niklaus Wirth from Technical University at Zurich, Switzerland. And pascal is program high level language. Name of pascal gotten from name Blaise Pascal.


1.2 Structures Program Pascal

Structures pascal only 2 (two), that is “program title” and “program block”. And “program block” to be found, “part of declarasion” and “part of statement”.

1.2.1 Example Structures Pascal

And this is example of Pascal structures : :

User crt;
>> if you not using this, you not can using command “clrscr”

Var
>> declarasion of variable

A : integer;
B: string;
C :integer;
>> it is giving variable integer and string

Begin
>> starting in making program pascal.

Clrscr;
>> cleaning output

Readln (a);
>> for input vaiable “a”

Writeln (‘have fun in my page….’);
>> print sentence “have fun in my page….” In place of output.

End.
>> statement or command for stoping program.


2.1 About Begin

Usually programmer using more than 1 (one) “begin” … and for stoping part of begin they are using statement “end;”. Different with I (one) begin, using full stop likely “end.”..

And this example  : :

Using 1 (one) begin
Begin
End.

Using more then 1 (one) begin
Begin
Begin
Begin
End;
End;
Begin.


And this all is introduction Pascal for you…
Ok.. just it..
I hope you likely and find it…
Thanks for readers and visitors…
See you later

No comments:

Post a Comment