Valhalla Legends Forums Archive | General Programming | Pascal

AuthorMessageTime
The-Rabid-Lord
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.
September 13, 2004, 7:31 PM
Grok
[quote author=(V)eh link=board=5;threadid=8667;start=0#msg80003 date=1095103906]
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]

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.
September 13, 2004, 8:51 PM
The-Rabid-Lord
No, it hasnt started yet. I was hoping if there were tutorials to go becide text books and instructors.
September 14, 2004, 5:00 PM
Arta
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.
September 14, 2004, 8:12 PM
Adron
[quote author=Arta[vL] link=board=5;threadid=8667;start=0#msg80125 date=1095192725]
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]

I wouldn't know what a compiler was if it bit me.
September 14, 2004, 10:05 PM
Arta
You've never programmed in Ada then!
September 14, 2004, 11:48 PM
Adron
[quote author=Arta[vL] link=board=5;threadid=8667;start=0#msg80163 date=1095205710]
You've never programmed in Ada then!
[/quote]

No, never
September 15, 2004, 12:54 AM
Arta
It's evil.
September 15, 2004, 12:13 PM
iago
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 :)
September 15, 2004, 5:07 PM
The-Rabid-Lord
I prgrammed my first program today
[code]
Program James;
USES CRT;

Begin
WRITE('James is the Best');
READLN;
End.
[/code]

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.
September 15, 2004, 5:24 PM
Adron
[quote author=(V)eh link=board=5;threadid=8667;start=0#msg80256 date=1095269086]
I prgrammed my first program today
[code]
Program James;
USES CRT;

Begin
WRITE('James is the Best');
RIGHTLN;
End.
[/code]

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.
[/quote]

rightln? not writeln?
September 15, 2004, 7:18 PM
St0rm.iD
No, RIGHTLN. His program is about to exit the freeway.
September 16, 2004, 2:32 AM
The-Rabid-Lord
oops my mistake it should say READLN.
September 16, 2004, 7:55 AM
Grok
[quote author=$t0rm link=board=5;threadid=8667;start=0#msg80349 date=1095301922]
No, RIGHTLN. His program is about to exit the freeway.
[/quote]

Funny-of-the-week.
September 16, 2004, 9:40 AM
The-Rabid-Lord
So who knows Pascal here? Im guessing Storm will know it. Not sure about any one else.
September 16, 2004, 4:00 PM
K
[quote author=(V)eh link=board=5;threadid=8667;start=0#msg80381 date=1095350431]
So who knows Pascal here? Im guessing Storm will know it. Not sure about any one else.
[/quote]

I know a little.
I would guess Arta knows it since Delphi ~= Pascal.
September 16, 2004, 4:59 PM
The-Rabid-Lord
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?
September 16, 2004, 5:15 PM
K
[quote author=(V)eh link=board=5;threadid=8667;start=15#msg80395 date=1095354912]
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]

Delphi - Personal Edition costs $99, I think.
Kylix - like Delphi, but for Linux. Certain editions free.
September 16, 2004, 7:14 PM
Adron
[quote author=(V)eh link=board=5;threadid=8667;start=15#msg80395 date=1095354912]
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]

Try using "Graph" ?
September 16, 2004, 7:16 PM
The-Rabid-Lord
How close is Delphi related to Pascal?
September 16, 2004, 7:23 PM
Adron
[quote author=(V)eh link=board=5;threadid=8667;start=15#msg80412 date=1095362614]
How close is Delphi related to Pascal?
[/quote]

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.
September 16, 2004, 9:31 PM
St0rm.iD
VB = Basic + GUI + IDE
Delphi = Pascal + GUI + IDE
September 17, 2004, 12:42 AM
Arta
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.
September 17, 2004, 3:44 AM
Adron
[quote author=Arta[vL] link=board=5;threadid=8667;start=15#msg80489 date=1095392677]
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]

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.
September 17, 2004, 4:46 PM
Grok
[quote author=Arta[vL] link=board=5;threadid=8667;start=15#msg80489 date=1095392677]
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]

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?
September 17, 2004, 5:50 PM
K
[quote author=Adron link=board=5;threadid=8667;start=15#msg80559 date=1095439577]
Are there Delphi compilers for linux etc? I thought Delphi was just a particular suite for Borland.
[/quote]

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.
September 17, 2004, 8:10 PM
Arta
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.
September 18, 2004, 4:06 PM
The-Rabid-Lord
I use turbo 5.5 at college and Virtual Pascal 2.1 at home. Both look pretty much the same.
September 18, 2004, 6:40 PM
TangoFour
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
September 20, 2004, 1:56 PM
ctype
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.
October 24, 2004, 12:10 PM

Search