Pascal is available in both interpreter and compiler form and has unique ways of defining variables. For example, a set of values can be stated for a variable, and if any other value is stored in it, the program generates an error at runtime. A Pascal set is an array-like structure that can hold a varying number of predefined values. Sets can be matched and manipulated providing powerful non-numeric programming capabilities.
The following Turbo Pascal example converts Fahrenheit to Celsius:
program convert;
var
fahr, cent : real;
begin
write('Enter Fahrenheit ');
readln(fahr);
cent := (fahr - 32) * 5 / 9;
writeln('Celsius is ',cent)
end.
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2008 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- What programming language should we teach?
- What programming language should we teach?Re: What programming language should we teach?How about Javascript? No, seriously... it's free, it's cross-platform, it's already available on virtually ANY computer without needing to install anything at all, it's not terribly complicated, and it greatly resembles many of the other languages in use.When it...
- Discussion threads 2008-06-27
- Code Line Counter (exe)
- Code Line Counter is a software to count lines of code (SLOC, LOC) in source or text files for Project Managers. Able to count C, C++, C#, Java, Delphi/Pascal, COBOL, VB, PHP, ASP, XML, Perl, Fortran, SQL Script and so on. Includes total counts and percentages for comments, blanks and...
- Software downloads 2008-06-12
- Is SAP's weakness its real strength?
- Conversations with Doug Merritt, a member of SAP's executive council and the person driving Business Objects as a platform for intelligence are always entertaining. Merritt represents the unconventional, disruptive element within SAP that was in evidence during Shai Agassi's tenure. For me, Merritt charaterizes the public face of fracture I...
- Blog posts 2008-05-22
- C 2 Delphi Converter (exe)
- Convert C source code into Delphi/Pascal source code. The program can help you to port existing applications to another new program language. It will change the C syntax into the Pascal syntax. The program has a batch conversation function to progress multiple files and can progress include files. After the...
- Software downloads 2008-05-22
- SAP's Business byDesign: the perfection conundrum
- SAP's software runs the world's largest enterprises 24/7 x 365. As a mission-critical infrastructure provider of enterprise applications, SAP's cultural DNA is hard-wired to deliver stable and reliable backbone software to large organizations. Given this background, one might ask whether that "perfection-oriented" culture is ideally suited to meeting the needs...
- Blog posts 2008-05-21
- SAP: build to flip?
- Executives from SAP added more color on the decision to decelerate the rollout of Business ByDesign, it increasingly looks like the management is moving more firmly into sales mode with a view to enhancing profitability. Several times during the day, board members Leo Apotheker and Henning Kagermann,...
- Blog posts 2008-05-19
- Notepad2 Turkce (zip)
- Notepad2 is a light-weight, free, and open source Notepad-like text editor with syntax highlighting for a few commonly used languages. It's based on the Scintilla source code editing component (http://www.scintilla.org) and works on NT-based versions of Windows. Features: Syntax highlighting: HTML, XML, PHP, ASP (JS, VBS), CSS, JavaScript, VBScript, C/C++,...
- Software downloads 2008-05-19
- SAP Business By Design likely to be delayed
- Sketchy reports coming out of Germany are saying that SAP's Business By Design is likely to be delayed. According to Handelsblatt: An SAP developer speaking to Handelsblatt claimed in German that ByDesign was suffering from performance issues and bugs that would delay general availability until perhaps the end of...
- Blog posts 2008-04-28
- Comfort Paste (exe)
- Comfort Templates Manager is a template manager you can use to quickly paste frequently used text fragments or images.Comfort Templates Manager will allow you to quickly complete the following tasks: Paste frequently used phrases, signatures, smiles, addresses, greetings, and passwords; Create all kinds of messages and documents using templates; Paste...
- Software downloads 2008-03-28
- Your turn: Readers choose their 10 favorite Windows programs
- Your turn: Readers choose their 10 favorite Windows programsThanks for the clarificationI would certainly expect better service from anyone expecting to actually have customers. I can only guess that they get so few calls that they help desk is out of practice. :-)SkypeNot sure about your customer service...
- Discussion threads 2008-03-21
- Is it worth the effort to provide many operating systems to students?
- Is it worth the effort to provide many operating systems to students?AmenChris says:"This goes back to the point that has been raised repeatedly in this blog: teach the fundamentals of computing (whether from an end user or developer perspective, depending on the students) and it won’t matter which OS (or...
- Discussion threads 2008-03-10
- 13 reasons IT hates metrics
- 13 reasons IT hates metricsYou Missed the Most Important Point...Management likes metrics because numbers on paper or PowerPointless makes it appear that they know what they're talking about, are meeting "goals" and showing "improvement". Unfortunately, IT metrics don't really measure anything meaningful. Take "Lines of Code" for example. On the...
- Discussion threads 2008-03-10
- Why is the concept of virtual machine software so sticky?
- Why is the concept of virtual machine software so sticky?More stuff to go down...when the host server crashes.My ThoughtsWe run about 150 VM's here hosted over a redundant cluster setup. If one machine fails, the others pick up the slack without interuption. But we still have quite a few issues...
- Discussion threads 2008-02-14
- To picture or not to picture
- To picture or not to pictureIs it even legal?Do you have legal authorization to be taking file pictures of minors without parental consent?I would suspect that, at a minimum, a model release would be needed. The liability exposure is potentially enormous, so please consult your Legal Counsel.Answer? NOThe potential...
- Discussion threads 2008-02-07
- Simple DirectMedia Layer (zip)
- Simple DirectMedia Layer was designed to be a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of "Civilization:...
- Software downloads 2008-01-24
- Notepad++ (exe)
- Notepad++ is a free under the GPL license source code editor which supports several programming languages under Windows environment. It's also a lightweight replacement of Notepad. The supported languages by Notepad++ are: C, C++, Java, C#, XML, HTML, PHP, Javascript, RC file, makefile, nfo, doxygen, ini file, batch file, ASP,...
- Software downloads 2008-01-23
- Yes, the MacBook Air is light. But so what-Dell XPS is a better deal on price
- Yes, the MacBook Air is light. But so what-Dell XPS is a better deal on priceYawn.And a desktop is an even better deal. There's more to value than sticker price.Evaluation criteriaYou're evaluating on price and not on weight. Shaving that extra pound off the box is going to increase...
- Discussion threads 2008-01-17
- Icon Maker (zip)
- Icon Maker is a DOS-based programmer's icon editor. Using a graphical, mouse-driven interface, you can create 40-by-40-pixel, 16-color icons. The program has several useful controls, such as button and shadow effects, flip and rotation tools, and color-value adjustment features. It can generate icon source code for Turbo Pascal, Turbo C,...
- Software downloads 2007-12-27
- Morfik WebOS AppsBuilder (zip)
- WebOS AppsBuilder is the worlds first Ajax IDE and a complete professional design tool for creating, managing and deploying dynamic Web 2.0 applications. It includes visual design tools for forms, database structure, and queries along with support for high-level languages such as Java, C#, BASIC or Object Pascal.
- Software downloads 2007-12-10
- PPL Pocket Programming Language (exe)
- Pocket Programming Language is a fast and powerful programming system that makes it easy to develop games, demos, business applications, and all types of programs for both the Windows and Windows Mobile PDA platforms. Instead of taking months to write challenging games or powerful sales demonstrations, Pocket Programming Language cuts...
- Software downloads 2007-12-07
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- Marc Canter: The master of multimedia speaks
-
In this Super Techies interview, larger-than-life techie Marc Canter talks with ZDNet's Editor in Chief Dan Farber about his career as a multimedia pioneer.
- Watch the video >>











