RES: [fpc-pascal] dot within unit file name
    Jonas Maebe 
    jonas.maebe at elis.ugent.be
       
    Fri Jan 18 16:54:32 CET 2008
    
    
  
On 18 Jan 2008, at 16:35, Marco van de Voort wrote:
>> The magic word would be "scope" here. It's the same as with using two
>> different units including the same identifier twice.
>
> Yes and no, of course it will work, but might be counterintuitive.
>
> uses x, a.b.c;
>
> a.b.c.d.
>
> if x also contains an identifier "a".
>
> error : a.b.c.d identifier not found. (but a.b.c.d exists).
We already print fully qualified identifiers in some error messages  
in case confusion is possible (e.g. unit1.type1 expected, but got  
unit2.type1).
Jonas
PS: could you configure your mail client so it inserts an attribution  
line at the top? (it's hard to follow who wrote what)
    
    
More information about the fpc-pascal
mailing list