[fpc-devel] Generics.Collections as package for Lazarus or package for FPC RTL

Sven Barth pascaldragon at googlemail.com
Fri Jan 29 14:28:38 CET 2016


Am 29.01.2016 12:26 schrieb "Marco van de Voort" <marcov at stack.nl>:
>
> In our previous episode, Sven Barth said:
> > The fp prefixes for the Posix functions are there to avoid confusion
with
> > the native Pascal functionality (e.g. mkdir) and for consistency all
these
> > functions have the prefix.
>
> (And most importantly "read", "write" and "close". Worse, read and write
> are not even functions but intrinsics, so they are available everywhere.
And
> they are not defined as POSIX functions, but "loosely modelled after
POSIX"
> :-))

Intrinsics are handled as belonging to the System unit. You can write
System.Writeln for example and it will work
(which is why the IfThen() intrinsic wouldn't be a problem in that regard)

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20160129/cbd87e60/attachment.html>


More information about the fpc-devel mailing list