[fpc-pascal] Problem with Objective Pascal and delphi mode

Michael Van Canneyt michael at freepascal.org
Sun Jan 31 13:41:00 CET 2010

On Sun, 31 Jan 2010, Marco van de Voort wrote:

> In our previous episode, Michael Van Canneyt said:
>>>> Does the number 1 imply that it's version 1 of the mode and there may
>>>> be multiple versions supported at the same time? Or was it for
>>>> Objective C Runtime Library 1.0 ? (I am almost sure that not)
>>> It means/meant version one of the Objective-C language. The Objective-C language evolves semi-independently of the run time (you can write programs in Objective-C 2.0 running on i386 and ppc32, whose Objective-C runtime is version 1). Objective-C 2.0 (the language) features require Mac OS X 10.5 or later, while 1.0 features are available as of 10.0.
>> Eh ?
>> How can a programming language feature depend on an operating system ?
> Keep in mind you can add methods runtime in objective C. IOW a library can
> construct tobject differently.

Yes, but that is a run-time feature, not a language feature. The language feature
states that you can add methods runtime. What you do with it is no longer a language
feature, I would think ?


More information about the fpc-pascal mailing list