I have started college and every wednesday we are being taught pascal ( :(). If anybody has any links to turoials it would be a great help. Thanks.
Quote from: (V)eh on September 13, 2004, 02:31 PM
I have started college and every wednesday we are being taught pascal ( :(). If anybody has any links to turoials it would be a great help. Thanks.
I'm sorry, but if you cannot understand Pascal from your textbooks/instructor, you should become a business manager and plan on a career in middle management.
No, it hasnt started yet. I was hoping if there were tutorials to go becide text books and instructors.
Pascal is very easy. We used it in my high-school programming class. No one in the class had any trouble learning it, and there were people there who wouldn't know what a compiler was if it bit them.
Quote from: Arta[vL] on September 14, 2004, 03:12 PM
Pascal is very easy. We used it in my high-school programming class. No one in the class had any trouble learning it, and there were people there who wouldn't know what a compiler was if it bit them.
I wouldn't know what a compiler was if it bit me.
You've never programmed in Ada then!
It's evil.
Lmao! You made me laugh out loud at work. Especially Adron's first reponse. Gold!
And yeah, Pascal is super easy. I've never officially learned it, but I've read a lot of the code and it seemed quite straight forward.
Also, some distributions of Linux come with a Pascal => C converter that I forget what it's called. But that just shows that Pascal isn't totally useless :)
I prgrammed my first program today
Program James;
USES CRT;
Begin
WRITE('James is the Best');
READLN;
End.
I was the first to complete it. We also did a user input program but im too lazy to type it out and my code is at college.
EDIT --> Mistake with RIGHTLN should be READLN.
Quote from: (V)eh on September 15, 2004, 12:24 PM
I prgrammed my first program today
Program James;
USES CRT;
Begin
WRITE('James is the Best');
RIGHTLN;
End.
I was the first to complete it. We also did a user input program but im too lazy to type it out and my code is at college.
rightln? not writeln?
No, RIGHTLN. His program is about to exit the freeway.
oops my mistake it should say READLN.
Quote from: $t0rm on September 15, 2004, 09:32 PM
No, RIGHTLN. His program is about to exit the freeway.
Funny-of-the-week.
So who knows Pascal here? Im guessing Storm will know it. Not sure about any one else.
Quote from: (V)eh on September 16, 2004, 11:00 AM
So who knows Pascal here? Im guessing Storm will know it. Not sure about any one else.
I know a little.
I would guess Arta knows it since Delphi ~= Pascal.
Just a q. Is it possible to give pascal apps a GUI. Currentley any programs I make are in a command lines. I can chnage the background color etc Textbackground(4); clrscr; etc to make the full background a different color. But can it have a GUI?
Quote from: (V)eh on September 16, 2004, 12:15 PM
Just a q. Is it possible to give pascal apps a GUI. Currentley any programs I make are in a command lines. I can chnage the background color etc Textbackground(4); clrscr; etc to make the full background a different color. But can it have a GUI?
Delphi (http://www.borland.com/products/downloads/download_delphi.html) - Personal Edition costs $99, I think.
Kylix (http://www.borland.com/products/downloads/download_kylix.html) - like Delphi, but for Linux. Certain editions free.
Quote from: (V)eh on September 16, 2004, 12:15 PM
Just a q. Is it possible to give pascal apps a GUI. Currentley any programs I make are in a command lines. I can chnage the background color etc Textbackground(4); clrscr; etc to make the full background a different color. But can it have a GUI?
Try using "Graph" ?
How close is Delphi related to Pascal?
Quote from: (V)eh on September 16, 2004, 02:23 PM
How close is Delphi related to Pascal?
Delphi = VB = VC with MFC
Pascal = Basic = C++
I.e. it's Pascal with the graphical goo of any bloated "click to make a gui" language.
VB = Basic + GUI + IDE
Delphi = Pascal + GUI + IDE
Delphi is just Object Pascal - pascal with OO support. The VCL is the MFC/VBish GUI creation tool. Its use is entirely optional. It does make GUI creation very, very easy though, and VCL components are compatible with Borland C++ Builder, which is kinda nice.
Quote from: Arta[vL] on September 16, 2004, 10:44 PM
Delphi is just Object Pascal - pascal with OO support. The VCL is the MFC/VBish GUI creation tool. Its use is entirely optional. It does make GUI creation very, very easy though, and VCL components are compatible with Borland C++ Builder, which is kinda nice.
Are there Delphi compilers for linux etc? I thought Delphi was just a particular suite for Borland.
Of course using the GUI parts of Delphi is optional, just like using forms is optional in VB applications. You could make an application in VB that has a console and no forms, it's just very rare to see someone doing that.
Typically you'll find that Delphi applications are similar in appearance to VB or MFC applications, except using Borland's classes.
Quote from: Arta[vL] on September 16, 2004, 10:44 PM
Delphi is just Object Pascal - pascal with OO support. The VCL is the MFC/VBish GUI creation tool. Its use is entirely optional. It does make GUI creation very, very easy though, and VCL components are compatible with Borland C++ Builder, which is kinda nice.
Hmm, are you sure? I used Borland Turbo Pascal 5.5, and that had inheritance and polymorphism, as I remember it. How is Delphi different other than more language features and more libraries and more IDE?
Quote from: Adron on September 17, 2004, 11:46 AM
Are there Delphi compilers for linux etc? I thought Delphi was just a particular suite for Borland.
Kylix is very much Delphi for linux, although I'm not sure if you can just take source code from one and and compile it on the other.
You can, assuming you use the VCL and not any native API.
Grok: I didn't know turbo 5.5 had support for classes. Delphi is the successor to Turbo, so it's probably just has more features, as you'd expect.
Adron: I've seen things coded in Delphi that just use API, and not the VCL - it's not as unusual as doing the equivalent in VB.
I use turbo 5.5 at college and Virtual Pascal 2.1 at home. Both look pretty much the same.
I've programmed with Turbo Pascal 6.0 (which had OO, and a DOS-based GUI library called Turbo Vision), and about 4 different Delphi versions (last being 6)
Stopped using it when I learnt Java in my first year of Computer Science
I started learning Pascal about 4 months before I started college (yes, with Meh) and I found it pretty easy learning on my own, from web tutorials. I'd say it's definetly a language anyone should know, especially if you plan on learning BASIC afterwards.