பாசுக்கல் (நிரலாக்க மொழி)
{{விக்கியாக்கம்}}
 {{Infobox programming language
 | name                   = பஸ்கால்
 | logo                   = 
 | paradigm               = imperative programming|imperative]], கட்டுக்கோப்பான நிரலாக்கம்
 | typing                 = [[Type system#Static and dynamic typing|static]], [[Type system#Strong and weak typing|strong]], [[Type system#Safely and unsafely typed systems|safe]]
 | implementations        = [[CDC 6000]], [[PASCAL-P]], [[PDP-11]], [[PDP-10]],  [[IBM System/370]], [[Hewlett-Packard|HP]], [[GNU]]
 | dialects               = [[UCSD பஸ்கால்|UCSD]], [[போர்லாண்ட்]], [[டேர்போ பஸ்கால்]]
 | year                   = 1970, 1992 இல் இறுதி மீளாய்வு.
 | designer               = [[நிக்கலஸ் வேர்த்]]
 | latest release version = 
 | latest release date    = 
 | influenced_by          = [[அல்கோல்]]
 | influenced             = [[மொடியூலா-2]], [[அடா நிரலாக்கல் மொழி|அடாAda]], [[டெல்பை நிரலாக்கல் மொழி|டெல்பை]], ஆக்ஸிஜீன்.
 | operating_system       = 
 | license                = 
 | website                = 
 }}&lt;ref&gt;{{cite web| url=http://java.sun.com/docs/white/delegates.html |title=About Microsoft's &quot;Delegates&quot; |archive-url=https://web.archive.org/web/20120627043929/http://java.sun.com/docs/white/delegates.html |archive-date=2012-06-27 |quote=We looked very carefully at Delphi [[Object Pascal]] and built a working prototype of bound method references in order to understand their interaction with the Java programming language and its APIs&amp;nbsp;... Our conclusion was that bound method references are unnecessary and detrimental to the language. This decision was made in consultation with Borland International, who had previous experience with bound method references in Delphi [[Object Pascal]].}}&lt;/ref&gt;&lt;ref&gt;{{cite web |url=http://www.fscript.org/prof/javapassport.pdf |quote=The project went ahead under the name &quot;green&quot; and the language was based on an old model of [[UCSD Pascal]], which makes it possible to generate interpretive code |title=History of Java |work=Java Application Servers Report |author=TechMetrix Research |date=1999 |url-status=dead |archive-url=https://web.archive.org/web/20101229090912/http://www.fscript.org/prof/javapassport.pdf |archive-date=2010-12-29 |access-date=2009-10-16 }}&lt;/ref&gt;&lt;ref&gt;{{cite web|url=http://queue.acm.org/detail.cfm?id=1017013|title=A Conversation with James Gosling – ACM Queue|access-date=11 August 2015|url-status=live|archive-url=https://web.archive.org/web/20150716194245/http://queue.acm.org/detail.cfm?id=1017013|archive-date=16 July 2015}}&lt;/ref&gt;
 
 == மொழி அமைப்பு ==
 === உலகே வணக்கம் ===
 &lt;div style=&quot;float:left; width:50%;&quot;&gt;
 &lt;source lang=&quot;pascal&quot;&gt;
 program HelloWorld;
 uses crt;
 
 begin
      writeln('Hello World');
      readln;
 end.
 &lt;/source&gt;
 &lt;/div&gt;
 &lt;div style=&quot;float:right; width:50%;&quot;&gt;
 &lt;pre&gt;
 Hello World
 &lt;/pre&gt;
 &lt;/div&gt;
 &lt;br style=&quot;clear:both;&quot;/&gt;
 
 === கட்டுப்பாடு ===
 &lt;div style=&quot;float:left; width:50%;&quot;&gt;
 &lt;source lang=&quot;pascal&quot;&gt;
 program TestControl;
 uses crt;
 
 var x:integer;
 
 begin
     writeln('enter a number');
     readln(x);
 
     if x mod 2=0 then
         begin
              writeln('it is an even number');
         end
     else
         begin
              writeln('it is an odd number');
         end;
     readln;
 end.
 &lt;/source&gt;
 &lt;/div&gt;
 &lt;div style=&quot;float:right; width:50%;&quot;&gt;
 &lt;pre&gt;
 enter a number
 4
 it is an even number
 &lt;/pre&gt;
 &lt;/div&gt;
 &lt;br style=&quot;clear:both;&quot;/&gt;
 === சுற்று ===
 ==== For சுற்று ====
 &lt;div style=&quot;float:left; width:50%;&quot;&gt;
 &lt;source lang=&quot;pascal&quot;&gt;
 program TestLoop;
 uses crt;
 
 var x:integer;
 
 begin
     for x:=1 to 10 do
     begin
          writeln('Repeat ', x);
     end;
     readln;
 end.
 &lt;/source&gt;
 &lt;/div&gt;
 &lt;div style=&quot;float:right; width:50%;&quot;&gt;
 &lt;pre&gt;
 Repeat 1
 Repeat 2
 Repeat 3
 Repeat 4
 Repeat 5
 Repeat 6
 Repeat 7
 Repeat 8
 Repeat 9
 Repeat 10
 &lt;/pre&gt;
 &lt;/div&gt;
 &lt;br style=&quot;clear:both;&quot;/&gt;
 
 === செயலி ===
 &lt;div style=&quot;float:left; width:50%;&quot;&gt;
 &lt;source lang=&quot;pascal&quot;&gt;
 program SumOfTwoNumbers;
 uses crt;
 
 function sum(x,y:integer):integer;
          begin
               sum := x + y;
          end;
 
 var
 x,y,z:integer;
 
 begin
      writeln('Enter a number');
      readln(x);
 
      writeln('Enter another number');
      readln(y);
 
      z:=sum(x,y);
 
      writeln(z);
 
      readln;
 end.
 
 &lt;/source&gt;
 &lt;/div&gt;
 &lt;div style=&quot;float:right; width:50%;&quot;&gt;
 &lt;pre&gt;
 Enter a number
 40
 Enter another number
 -30
 10
 &lt;/pre&gt;
 &lt;/div&gt;
 &lt;br style=&quot;clear:both;&quot;/&gt;
 === உள்ளீடு/வெளியீடு ===
 === கோப்பை கையாளுத்தல் ===
 &lt;div style=&quot;float:left; width:50%;&quot;&gt;
 &lt;source lang=&quot;pascal&quot;&gt;
 program TestFileHandling;
 uses crt;
 
 var
 x:string;
 f:text;
 
 begin
      assign(f,'Example.txt');
      reset(f);
 
      while not EOF(f) do
      begin
           readln(f,x);
           writeln(x);
      end;
 
      close(f);
      readln;
 end.
 &lt;/source&gt;
 &lt;/div&gt;
 &lt;div style=&quot;float:right; width:50%;&quot;&gt;
 &lt;pre&gt;
 This is a test file.  
 This will be read by the program.
 &lt;/pre&gt;
 &lt;/div&gt;
 &lt;br style=&quot;clear:both;&quot;/&gt;
 
 {{ISO standards}}
 
 [[பகுப்பு:நிரல் மொழிகள்]]
 
 ==மேற்கோள்கள்==
 {{reflist}}