[fpc-pascal] Prospects for running Lightspeed/THINK Pascal and Codewarrior Pascal with FPC
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Fri Aug 22 10:42:52 CEST 2014
Ingemar Ragnemalm wrote:
> On 21/08/14 07:41, Jerry wrote:
>>> I have a lot of old Pascal that I am getting interested in reviving.
>>> It was originally written in Lightspeed/THINK Pascal (did I mention
>>> it is old?) and around 2000-2002 I converted it to Codewarrior
>>> Pascal. These are both Macintosh dialects.
>>>
>>> What are the prospects of running each of these dialects under FPC?
>>> Are there compatibility flags to set? Would there be much rewriting?
> I am very comfortable in porting old Mac code to FPC. FPC implements a
> very nice and modern Pascal that handles most (but not all) old code.
> The only problem I have had is with multiply nested code that does
> "exit" on the enclosing function, which FPC can't do.
I know it's not good practice, but could this- at least during initial
porting- be replaced by an exception?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list