On Mon, 20 Jul 2015 11:44:44 -0700 (PDT),
jameshum....@gmail.com
wrote:
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.