Howto make an .exe from a .pas

If for example i need to make an .exe from a program that i wrote (.pas)
how should i proceed ?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Compile and link it.

What did you use to write the .pas file?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Louis_DePageAuthor Commented:
i use turbo pascal 5.5
If it's the same as TP7, just hit F9 and that should compile it.  You should probably take a look at some of the help files before you go much further.  Learning how to properly use the IDE before trying to use it is always a good idea.
As MannSoft says, F9 compiles. To make an exe (rather than have the pascal program run inside the TP environment), you have to set the target of the compilation to disk. This option is found under Compile | Destination. Selecting it will toggle between Memory (runs inside the IDE) and Disk (compiles "somthing.pas" into "something.exe").

in Dev-Pas just press on the compile button, the program will compile your code and afterwards link it to the exe file.
in tubo pascal you have to do that in seperate steps.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.