need help with pascal programming?

shiftyape

Honorable
Feb 23, 2013
48
0
10,580
how do you give a command to pascal that will force the program to close itself?
also, is there a way to make the text change colors? thanks
 
Solution
You must learn to crawl before you can walk, or run.

Here are some resources to get you started:

http://www.taoyue.com/tutorials/pascal
http://www.exam.gr/pascal/Docs/tutorial1/intro.html
http://www.tutorialspoint.com/pascal/

As to your initial question. It's extremely bad form to force a program to end abruptly. A proper design has the program returning to the main subroutine (where everything started) for final clean up and exit. The resources I linked will help guide you through this.

ex_bubblehead

Distinguished
Moderator
You must learn to crawl before you can walk, or run.

Here are some resources to get you started:

http://www.taoyue.com/tutorials/pascal
http://www.exam.gr/pascal/Docs/tutorial1/intro.html
http://www.tutorialspoint.com/pascal/

As to your initial question. It's extremely bad form to force a program to end abruptly. A proper design has the program returning to the main subroutine (where everything started) for final clean up and exit. The resources I linked will help guide you through this.
 
Solution

shiftyape

Honorable
Feb 23, 2013
48
0
10,580


thanks for your response i will look into it