[fpc-pascal]Graphics cards, VGALIB

Jonas Maebe jonas at zeus.ugent.be
Mon Sep 6 15:17:20 CEST 2004


On 6 sep 2004, at 15:06, Eduardo Morras wrote:

>> No, it's not per system, but per package/program. Suppose there are 
>> libraries A and B which both export symbol X. One program needs 
>> symbol X from library A, and another one from library B, but both 
>> need both libraries A and B for other symbols.
>>
>> You then simply cannot assign a weight to A and B so that it works 
>> correctly in all cases.
>
> I always thought that fpc supports a.x and b.x for differenciating 
> them,

That's for units, not for libraries.

> P.S. From freepascal.com/advantage.html; Is this still true??
>
> "Each unit has it's own identifiers In Pascal you never need to worry 
> about polluting the namespace, like in C where an identifier needs to 
> be unique accross the entire program. No, in Pascal each unit gets 
> it's own namespace and that's very relaxed."

Yes.


Jonas





More information about the fpc-pascal mailing list