Howto make an .exe from a .pas

Posted on 2003-10-21
Last Modified: 2010-04-16
If for example i need to make an .exe from a program that i wrote (.pas)
how should i proceed ?
Question by:Louis_DePage
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

MannSoft earned 20 total points
ID: 9592555
Compile and link it.

What did you use to write the .pas file?

Author Comment

ID: 9592603
i use turbo pascal 5.5

Expert Comment

ID: 9592635
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.
LVL 11

Expert Comment

ID: 9593143
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").


Expert Comment

ID: 9597484
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.

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Choosing a core focus or particular set of features and options can be tough. To help out, we’re going to highlight a handful of things your business needs on one of your social media pages. In other words, if one of these is missing, you should imp…
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question