-->

Pages

Thursday, 23 March 2017

The Minimal Pascal Structure

Syntax  element in Pascal minimal consist of :


Begin
Statement;
End.

********* ******** ********* *********

Explanation :

  1. Begin as an Open  Instruction to create or write script or syntax in Statement.
  2. 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.
*** Indonesia Version ***
Sintaks elemen dalam Pascal minimal terdiri dari: 

Begin      
         Statement;
End.  

********* ******** ********* ********* Penjelasan:
  1. Begin  sebagai Instruksi Pembukaan untuk membuat atau menulis script atau pesan dalam Statement.
  2. Statement  sebagai tempat untuk menulis:
  3. 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)! 

          Sebelum naskah  atau pesan kita entri, kita harus memasukkan  Kata Perintah sebagai Struktur Output dan Beberapa Tanda. Contoh:
      • Writeln('As Salaamu Alaikum WRWB ! Welcome to Study Pascal Programming !  Good Luck !');
           Setelah naskah atau pesan kita entri, kita harus memasukkan  Kata Perintah sebagai Struktur Input  dan Tanda ; sebagai penutupan akhir Baris Script. Hal ini berarti bahwa setiap menulis Script Baru dalam setiap perubahan baris, kita harus menutupnya menggunakan  Tanda ;   3. Endsebagai Instruksi Penutup dari Tulisan Kita atau Script Kita atau Pesan Kita sudah tidak ada lagi. Ingat, silahkan! Setelah  menutup menggunakan script End, maka harus diikuti dengan Tanda  Titik(.).    4. Struktur Output Fungsi untuk memberikan

      No comments:

      سرعة


      Flag Counter