• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Pascal coding problem?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Cluster

Member
Joined
Dec 5, 2001
Location
Canuckistan
Ok, I got some code that i change. It's in Pascal. Right now it takes 3 inputed numbers and puts them in ascending order. I want to know how to do 2 things.

1. Make it simpler (if possible).
2. Take any amount of numbers and put them in ascending or descending order. Inputed by user.
 

Gresyth

Computer Abuser
Joined
May 7, 2001
Take a look at this in the zip is the source and exe for a simple bubble sort. this is for Turbo Pascal 7.0
 
OP
C

Cluster

Member
Joined
Dec 5, 2001
Location
Canuckistan
The zip's not bad, it just not a zip. I couldn't post a .pas file so i changed the file extension to .zip. Ya musta just missed the line above it, it's gotta be changed from .zip to .pas