Am 13.02.2012 14:21 schrieb "Hans-Peter Diettrich" <[email protected]>:
>
> Sven Barth schrieb:
>
>
>> You're wrong. "contains" (along with "requires") is only a keyword in
package files not library files.
>
>
> Thanks for the correction.
>
>

You're welcome.

>> E.g.
>>
>> package Foobar;
>>
>> contains
>>  Foo in 'foo.pp',
>>  Bar;
>>
>> requires
>>  RTL;
>>
>> end.
>
>
> I couldn't find such files documented anywhere. Are these recognized by
FPC, what's their extension?

These are normal Delphi package main files. There they have the extension
"dpk". For FPC no such extension exists yet, but the compiler can already
parse a file like the above (with whatever extension it might have) and
tries to create a runtime package (extension "ppl" analog to Delphi's
"bpl"). These packages are not useable currently though. Someone started to
implement package support in the compiler some years ago, but it was never
finished...

Regards,
Sven
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to