Classic DOS Games Forum

Discuss great games
It is currently November 20th, 2009, 10:14 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 

Rate this utility
10 (highest) 0%  0%  [ 0 ]
9 0%  0%  [ 0 ]
8 100%  100%  [ 1 ]
7 0%  0%  [ 0 ]
6 0%  0%  [ 0 ]
5 0%  0%  [ 0 ]
4 0%  0%  [ 0 ]
3 0%  0%  [ 0 ]
2 0%  0%  [ 0 ]
1 (lowest) 0%  0%  [ 0 ]
Total votes : 1
Author Message
 Post subject: Turbo Pascal
PostPosted: November 22nd, 2007, 10:11 am 
Offline
Site Admin
User avatar

Joined: July 26th, 2005, 6:01 pm
Posts: 371
Feel free to rate and discuss this utility.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: November 29th, 2007, 9:46 am 
Offline
5-bit member

Joined: December 30th, 2006, 6:16 am
Posts: 39
Location: Finland
I made one of my first programs for PC with TB. I loved it back then but these days, i dont use any Pascal compilers nearly at all.
But stil, in my memories TB gets INT(7+) which is 8 :D

_________________
Something funny should read here?


Top
 Profile  
 
 Post subject:
PostPosted: December 2nd, 2007, 6:48 pm 
Offline
Site Admin
User avatar

Joined: September 2nd, 2005, 9:28 pm
Posts: 470
I love Pascal. I started programming in BASIC by typing out Vic 20 games from those BASIC books they used to sell. Line numbers and GOTOs! I started programming in QBASIC and QuickBASIC when I got a PC, but I didn't know how to program without line numbers!

In high school they taught us Pascal. Pascal actually became a teaching language very early in its life (as did BASIC, because it was so easy to learn), because it's a structured programming language, and it's strongly-typed, which forces you to develop good programming habits. In C, you can use data however you want to, regardless of how you defined it. In Pascal, you have to show the compiler that you really want to use the data in a different way by either typecasting it or converting it. You also have to declare your variables at the top of the program/function/procedure, which make you think about variables you're going to need before you start programming (and prevents you from duplicating or losing track of variables, or wasting memory with unused variables).

Pascal was my first structured programming language, and forced me to use procedures and functions instead of GOTOs. It wasn't until I learned Pascal that I could program in QBASIC without line numbers, and use subroutines instead of GOSUBs.

Later on they taught us Delphi, which I still use. It's incredibly easy to design a GUI, and we already knew Pascal syntax. Delphi is really fun to work with. I definitely recommend Pascal to anyone who wants to learn good programming habits, or wants to use Delphi to make Windows or Linux programs.

Once you've learned how to program, you can learn any other programming language by learning the new syntax and rules. Although Pascal isn't used as much as C, which is syntactically similar to Java and PHP, learning Pascal first will give you a good foundation in the principles of programming and prevent you from getting bad habits. C is known for its ease of creating spaghetti code and can become totally unreadable when written by an inexperienced programmer.

_________________
Today entirely the maniac there is no excuse with the article.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by MaĆ«l Soucaze © 2009 phpBB.fr