Question:
How can I make an .EXE (a working program) file from .PAS file written in Pascal?
HarrisonZ
2006-04-29 08:03:18 UTC
Hi!
I'm a programming newbie.
I'm starting to make simple algorythms in Pascal, and now i learned how to make some small programs, like games and such.
But when i write them, I save my programs as a .pas file and that's it. If I want to work the program I have to open Pascal and open the .pas file.
I want to make a program that will open in MS-DOS and that is independent.
How can I do that?
Please write me a walktrough.
10 points for the best answer are sure.
Five answers:
SamuraiX
2006-04-29 08:05:14 UTC
You need something called a "compiler". Basically you give your .PAS file to the compiler and it will spit out an .EXE file. Try this one:

http://sourceforge.net/projects/freepascal/
anonymous
2006-04-29 08:19:00 UTC
If you want to eventually start writing applications for Windows or Linux, you might also want to have a peek at Borland Delphi. They have free trial versions online, and I believe there is also a Personal Edition (not for commercial use) that is either free or ultra-cheap, though it's not available for download anymore so you would have to contact someone at Borland.



I've been using this product since WAY back when it was THE Pascal compiler of choice, for operating systems like MS-DOS and CP/M, before there was such a thing as Windows.



The history goes something like this... Turbo Pascal (versions 1 through 7), Borland Pascal, Borland Pascal for Windows, and finally Borland Delphi version 1 through 8, in Personal, Developer, Enterprise, and Architect editions, now available for Windows and/or Linux.
anonymous
2016-03-14 10:11:37 UTC
You already have. Visual Basic is a compiled language. When you hit the green arrow, Visual Studio creates the exe and runs it. If you look in the project folder, in the bin/Debug folder, you'll find the executable (there's also a .vshost.exe file which is what Visual Studio uses to hook into the executable).
anonymous
2006-04-29 08:11:26 UTC
I remmember that *.pas files are created by Paskal programs, I've used Turbo C++ (latest Turbo Paskal), What compiler to you have? Doesn't it have sumthing about "create program" or "create EXE" or sumthin like that in controls?
anonymous
2006-04-29 08:09:08 UTC
what the name of your program ..



when you compile it .. it makes and exe in the default folder of Pascal language installed .. try searching them in that folder ..


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...