Begin
Statement;End.
********* ******** ********* *********
Explanation :
- Begin as an Open Instruction to create or write script or syntax in Statement.
- Statement as place to write :
- What's Written we want or content core from our program that we create or All Content of Our Message. Example : As Salaamu Alaikum WRWB ! Welcome to Study Pascal Programming ! Good Luck ! For this, please look at Exercise of Greeting-Salam (Latihan 1, Latihan 2, Latihan 3 and Latihan 4) !
- Before entry our script or message, we must entry Instruction Word as Output Structure and Some Signs. Example :
- Writeln('As Salaamu Alaikum WRWB ! Welcome to Study Pascal Programming ! Good Luck !');
- After entry our script or message, we must entry Instruction Word as Input Structure and ; Sign as closing end of Script Row. It mean that every write of New Message in every row change, we must close it use ; Sign.
- Example :
- Readln;End. as a Closing Instruction of Our Written or Script or Message. Remember, please ! After close script use End , must be followed with Dot Sign ( . ).
- Output Structure Function to give
- Writeln is part of the command Output Structure of output. There are still some command output structure commonly used by the programmer in any languages program in practice depending on their needs. Consisting of : Write, ClrScr, GoToXY, TextColor, TextBackground and Window.
Sintaks elemen dalam Pascal minimal terdiri dari:
Begin
Statement;
End.
********* ******** ********* ********* Penjelasan:
- Begin sebagai Instruksi Pembukaan untuk membuat atau menulis script atau pesan dalam Statement.
- Statement sebagai tempat untuk menulis:
- Apa yang tertulis yang kita inginkan atau inti isi dari program yang kita ciptakan atau Semua Isi pesan kita. Contoh: As Salaamu Alaikum WRWB ! Welcome to Study Pascal Programming ! Good Luck ! Untuk ini, silahkan lihat di Latihan tentang Greeting-Salam (Latihan 1, Latihan 2, Latihan 3 dan Latihan 4)!
- Writeln('As Salaamu Alaikum WRWB ! Welcome to Study Pascal Programming ! Good Luck !');
No comments:
Post a Comment