[fpc-devel] Semicolon before else

Juha Manninen juha.manninen at phnet.fi
Fri Jan 29 14:40:28 CET 2010

> There is no Modula2 mode. There is an Objective-Pascal mode, but no  
> Objective-C mode.

Sorry, yes. I knew it was Objective-Pascal, used in Mac, but I wrote it wrong.
I remember reading about Modula2 mode but it must have been just an idea.

> Units compiled in different dialects can indeed be mixed in the same  
> program.

>> That is cool! The same benefit Parrot or .NET have but with compiled
>> languages.

> No, it is much more limited.

Ok... which way? They can mix and interact in the same program as you told.

> And of course, .NET/CIL can also be statically compiled to machine code.


> You can perfectly use a library compiled with gcc in a gpc-compiled  
> program. You just have to translate the headers

Right. That is the limitation. And the object oriented classes (in C++) you 
can't really translate except for making them flat functions.

Juha Manninen

More information about the fpc-devel mailing list