![]() |
So, around May I'll have final exams for my school... trobule is, I declared Computers as one of the subjects I want to have at the exams, and I'll need to learn programming in Turbo Pascal 7 at a moderate-to-good level until that time.
So far, I've been trying my programming skills a while back in a pascal-like programming course/game, with good effect, and written program scripts for a Pascal-based file editor program, also with some success. My first and primary question is: what should I start with? Ie what types of commands/parameters/whatever should I learn first, and what should be next? |
The basics first. Get a hang of the syntax and some of the most common commands. Build up from there. Most of the time, it's just following the tutorial, and in the thread Tutorials, there're a couple on Pascal ;) G'luck with it, as that one's really worth learning for those that want to step into C/C++ with ease :ok:
|
Hi there,
I did pascal programming in high school as well. I'd say first start off with learning how to just output stuff to the screen. Then go on to IF statements, Loops such as WHILE, FOR, REPEAT. Then give your self a push to checking out the CASE statements. By then you can try some I/O, reading from the DOS window and outputting it, then file i/o, such as reading/writing stuff to disk. If you need examples of such, tell me. I can post them here. Good luck. |
Well, I understand some basics of script control, loops etc, but if you could give me a few examples it would definitely help me a lot.
I find it easier to understand a sample of program code then a lengthy essay on what does command A do, why is the parameter B used etc... |
what kind of examples do you need ?
|
Samples of actual program code would be good. It's easier for me to reverse-engineer what each part means then learn the language from the beginning. Just got to always do it the hard way.
|
I have ziped 2 pascal programs. They're small and probably quite lame.
I wrote these when I was figuring pascal out for school. I have a really better one, pretty big where I read/write/edit files use records and whole bunch of handy stuff. But I have it printed out on paper and can't find the actual digital source code ! LOL. It must be somewhere on one of my old computers. when I find it, i'll post it. For now these will do. I think I used them on turbo pascal and codewarrior. Well test them see if they compile in turbo pascal. |
Thank you. :bye:
|
ah finally found my other pascal program.
This one is bigger. |
Quote:
@NeKromancer You call that easy programs????? |
The current time is 02:47 AM (GMT) |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.