[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] Re: feature request: implementation "IS EXTERNAL"
From: |
Alain Lucari |
Subject: |
Re: [open-cobol-list] Re: feature request: implementation "IS EXTERNAL" (semantics) |
Date: |
Fri Nov 14 10:35:11 2003 |
Le Fri, 14 Nov 2003 20:40:23 +0900
Keisuke Nishida <address@hidden> a écrit:
>
> Gee, I misunderstood the effect of EXTERNAL. What I did is to
> declare the field as an external variable in C. The field is
> not actually defined, so the undefined reference error happened.
>
> It seems a field with EXTERNAL should have both a declaration
> and a definition. How can I implement this? In C, there must
> be only one definition even if you compiled several modules.
>
> Hmm, maybe we need to generate a special module for external
> variables, or we need to resolve the field at run time.
>
I think just like 'accept "filename" from environment-variable "filename".'
or something same.
Regards,
--
Alain Lucari (Eurlix)