Groups | Search | Server Info | Login | Register
Groups > comp.lang.pascal.borland > #180
| From | Brian <usenetposting@meadows.pair.com> |
|---|---|
| Newsgroups | comp.lang.pascal.borland |
| Subject | Re: Help needed to run Pascal program |
| Date | 2015-07-21 03:48 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <moktdk$t9m$1@dont-email.me> (permalink) |
| References | <c2d29b34-971c-43fd-8d1b-d5a7ed12af52@googlegroups.com> |
On Mon, 20 Jul 2015 11:44:44 -0700 (PDT), jameshum.humphreys@gmail.com wrote: >I am trying to run a program written in Pascal- the source code is at http://www.public.iastate.edu/~swillson/STDMove2.p. >Unfortunately, I know next to nothing about Pascal. It's all right - neither does the person who wrote that source code. To say the style is atrocious is the understatement of the year. It's been a LONG time since I saw anybody using labels in a Pascal program. Of course, IF the code is more than 30 years old, that might be a little unfair. It looks to me like a port from another language. >I downloaded the free Borland compiler but could not work out how to paste the code into the compiler. Also I was not sure if I needed any additional files to run this programming. Is there anyone who would be willing to explain, in very simple terms, how to do this? I'm not sure which of the versions of Borland's Pascal is the free one (it's been quite a few years since I last used Delphi, let alone Borland Pascal) but basically paste your code into a file and then either run the command line version of the compiler and pass the file as a parameter, or if you have the IDE version of the compiler, then run that and do a file-open inside the IDE in the standard Windows fashion. The command to compile it will be in the menus. You may have more luck with using FreePascal (available from SourceForge, and it's the latest release, not an antiquated version!). The documentation is there, but there may be some units used in the source where you have to search for the equivalents in the FreePascal RTL. If you download Lazarus as well, then that will give you a decent IDE for FreePascal programs. You need three files - the FreePascal compiler, the FreePascal sources and the Lazarus IDE. Plus any documentation, of course. Brian. -- This message has been sent from an invalid address Replace 'Usenetposting' with my name to reply by e-mail.
Back to comp.lang.pascal.borland | Previous | Next — Previous in thread | Next in thread | Find similar
Help needed to run Pascal program jameshum.humphreys@gmail.com - 2015-07-20 11:44 -0700
Re: Help needed to run Pascal program Brian <usenetposting@meadows.pair.com> - 2015-07-21 03:48 -0400
Re: Help needed to run Pascal program dik <quagga5@fastmail.fm> - 2015-07-25 14:58 -0700
Re: Help needed to run Pascal program Brian <usenetposting@meadows.pair.com> - 2015-07-31 05:02 -0400
csiph-web