Questions tagged [pascal]

Pascal is an imperative language from created by Niklaus Wirth in 1969. It was widely used in engineering and teaching in the 1970s and 1980s. It lives on in compilers as Free Pascal.

Pascal is an influential imperative and procedural programming language, designed in 1969 and published in 1970 by Niklaus Wirth as a small and efficient language. It was largely (but not exclusively) intended to teach students structured programming and data structuring.

Pascal is a descendant of , but it was implemented on a wide range of architectures, from PDP-11s, IBM PCs, to CDC Cyber and IBM System 370 mainframes. Pascal probably reached critical mass around the time Borland released Turbo Pascal in 1983.

Wirth later developed Modula-2 and Oberon and those languages share much of Pascal's design. Other derivatives include OOP-based Object Pascal (used in Delphi and Lazarus/Free Pascal).

Pascal is a purely procedural language and includes control statements with reserved words such as if, then, else, while, for, and so on. However, Pascal also has many data structuring facilities and other abstractions not included in ALGOL 60 like type definitions, records, pointers, enumerations, and sets.

External Resources:

Free Pascal/Delphi Programming Books

12 questions
8
votes
5 answers

Where is the GNU Pascal Compiler?

On Ubuntu 10.04 I had installed the GNU Pascal Compiler (package gpc). After moving to Ubuntu 12.04 / 64 bit I cannot find the package any more. Google and the GNU Pascal homepage did not help much. So I wanted to ask if the package has been…
Giorgio
  • 396
  • 2
  • 4
  • 13
3
votes
1 answer

How do I install Turbo Pascal?

I'm reading this tutorial. I need a turbo pascal, can anyone say me how to install turbo pascal in Ubuntu 10.04? Thanks in advance.
Ant's
  • 3,780
  • 16
  • 36
  • 50
2
votes
1 answer

Problem running Lazarus project on ubuntu 12.04

I recently installed Lazarus IDE on my Ubuntu 12.04 via Software Center, later I tried it via commands in console. Both were effective, program was successfully installed but I was unable to run my projects (the program was able to compile the code…
Anduril
  • 21
  • 3
1
vote
0 answers

Pascal no compiler message

In every Ubuntu Distro i tried i had a problem with Free Pascal IDE. The problem was that after some time compiler error message window would disappear and i no longer could see errors i made, i would have to search them manually. I tried…
F. Pajic
  • 21
  • 3
1
vote
0 answers

Pascal IDE output problem

I have a problem when i run a program in pascal the output text is not formated right, it should write the text at the bottom of the terminal but instead it writes it over the existing text in the top left corner. It looks like this: It should be…
F. Pajic
  • 21
  • 3
1
vote
2 answers

PASCAL/FORTRAN/C++ compilers

I am retired and having some time on my hands, got out my old DATA STRUCTURES textbooks from the 80s. I got to thinking how much I would like to revive my skills in PASCAL/C++ and use the techniques in the books. About 4 years ago, I bought a…
user237416
  • 11
  • 1
1
vote
1 answer

missing libncurses.so.5

I was installing free pascal IDE on Ubuntu 12.04 at x64 AMD. When i run fp file it says: ./fp: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory I searched Google and found out that i…
aljazerzen
  • 251
  • 2
  • 4
  • 8
1
vote
1 answer

Can't restore corrupted compiler on Kubuntu 20.04

I use the FreePascalCompiler (FPC) version 3.0.4 on command line level under Kubuntu 20.04.2 LTS and ended up corrupting it myself. Now I find no way to do a clean reinstall of FPC. I suppose the problem is Ubuntu-specific, that's why I put my…
docgmb
  • 13
  • 4
1
vote
0 answers

Delphi Indy TCP Socket Server Sometimes Freeze and What is the limit

I made TCP Socket Server application. Embedded GSM module devices are connected with TCP/IP protocol on GSM Line and send about 140 bytes of data in per 1 minute. I parse this 140 bytes of data and save it in the database. Sometimes all client are…
3ddark
  • 11
  • 3
0
votes
1 answer

Can I compile a Delphi project to run on ubuntu?

I need to compile a Delphi (pascal) project to run on Ubuntu. It has a GUI and it is supposed to communicate with an external device so I cannot use WINE to just execute the .exe file. Is there any way to create a .deb file out of the source code?
Hristos
  • 35
  • 11
0
votes
2 answers

Can not compile anything by fp (Free Pascal IDE) and there is no help

If I try to compile a simple program by fp that is a Free Pascal integrated development environment installed along with fpc package, I get error "Fatal: Can't find unit system".. I can compile the program by fpc command line compiler, but "The IDE…
jarno
  • 5,317
  • 5
  • 49
  • 77
-1
votes
1 answer

How to get Free Pascal working on Kubuntu 20

I can install Free Pascal on Kubuntu but programs won't compile - can't find system . . . Lazarus is listed in Discovery but it won't install. Anyone got it running?
Phaedr-os
  • 3
  • 3