Archived

This topic is now archived and is closed to further replies.

Pascal vs. BASIC

This topic is 6366 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Other than the more advanced compiler option, the C like syntax is there any advantage to using a Pascal exe over a QB4.5 or PDS 7.0 exe? Thanks Patrick

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
but why use any of those when you could use C++ or java?

Share this post


Link to post
Share on other sites
I''ve programmed in both, and I would say Pascal is far better (unless you a complete newbie, in which case QB4.5 might be easier, but not by much). Pascal makes much faster exe''s, has access to more functions, and unlike QB you can easily incorpate assembly (for mouse routines, optimized graphics) without having to mess about with creating object libraries and the like (which is silly, why should you need a second compiler just to use the first effectively). Pascal will as prepare you ALOT better for learning languages like C++, since the structure is almost identical, except for strong typing and the use of different syntex.

Share this post


Link to post
Share on other sites
Yeah, definitely go for Pascal; I think it is actually easier to learn than BASIC, and it will definitely teach you a better programming style due to it''s syntax, and, well it''s just better! I mean, AFAIK, QBasic doesn''t even have Pointers...

--------------------------

Ghosts crowd the young child's fragile eggshell mind...

Share this post


Link to post
Share on other sites
My opinion:
PASCAL is a BASIC facing towards C.
If you understand what i mean.

I think PASCAL is better than BASIC but as for their Win32 implementations(VB and Delphi) i would certainly go for VB.

Voodoo4

Share this post


Link to post
Share on other sites
Well Now,

I have used Pascal for the last 6 months. It is very structured and fairly simple to learn. Also it''s pretty close to C which makes it a great stepping stone. I have found it a great adavantage when learning C.

STVOY

Mega Moh Mine!!

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster

but why use any of those when you could use C++ or java?


I do use C++. The question was just for my own referance.

Patrick

Share this post


Link to post
Share on other sites
Pascal is better than QBasic AND Delphi is better than Visual Basic no matter which way you look at the compilers. Speed, executable size, *list goes on, and on, and on...*

I''m not just saying that, but I''ve had experience with both, and one thing I know is that BASIC doesn''t have any advantages over Pascal (other than it''s easier to learn).


..-=gLaDiAtOr=-..

Share this post


Link to post
Share on other sites