My Story with Object Pascal language. Part one: Turbo Pascal

Before the university I have studied BASIC language using my MSX 64 K Bytes Ram, 2.8 Z80 Computer. On that time cassette tapes were the only available storage media that I have. On this computer I have learned the basic of programming, dealing with data, input and output, and finally I was able to write some graphical games, using spirit in MSX BASIC as I do remember.

After I have joined Sudan university in 1995 , I found that Turbo Pascal 6 is used as an introductory language for computer programming. At first I hated it, I found it more complex than Basic. Then I started using QBasic in University labs. After writing a game in QBasic I decided to try Pascal language again, and that happens before first official course of programming language. The course of Pascal language has started in the second semester. In the second semester I write three graphical computer games using Turbo Pascal 7. I remember that in lab it was not allowed to play games, but my friends copy these games and start to play with them. When lab administrator ask them to stop playing games, they say, this is a program of Turbo Pascal not a game and they open the source to prove it. Here are some snapshots of that games:

carCarFinGuess

At some point lab administrators upgrade Turbo Pascal 6 to Turbo Pascal 7, and when we asked our seniors about the difference, the say TP7 makes different color for reserved words.

I have resumed developing a lot of applications using Turbo Pascal during the first year in university. One of my important projects was typing tutorial, a text interface application to practice typing.

typing

typingrep

At the middle of second year at university I started to move into graphical interface instead of text mode. I spent enough time to write graphical library which includes menus, buttons, and different dialog boxes which supports mouse and is similar to Windows, at that time it was Windows version 3.11. Then I used these graphical libraries to write some applications like Arabic font designer, and diskettes library organizer.

arabicfont

I want to comment that Turbo Pascal 7 has a wonderful help system, strong compiler, bug free editor, fast executables and a debugger from the future.

2 thoughts on “My Story with Object Pascal language. Part one: Turbo Pascal

  1. Nice article! I remember those days and the old days of Turbo Pascal. Thanks for sharing, I’m looking forward to the next part.

  2. Thanks
    Actually I was forget to tell part 2, which should be my long story about Delphi.
    This needs a really nice day and good mood to talk about this experience.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s