PDA

View Full Version : Pascal coding problem?


Cluster
03-10-02, 11:20 PM
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.

Cluster
03-10-02, 11:23 PM
Here's the code. just change it from .zip to .pas

Gresyth
03-14-02, 02:12 AM
your zip file is bad. It wont unzip.

Gresyth
03-14-02, 02:28 AM
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

Cluster
03-15-02, 04:47 PM
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

triflux
03-26-02, 03:17 AM
Originally posted by Cluster
Here's the code. just change it from .zip to .pas

Originally posted by Gresyth
your zip file is bad. It wont unzip.

hahhaha that is funny