declare global error

Richard Kreiss rkreiss at verizon.net
Tue Nov 6 22:27:28 PST 2012



On Nov 6, 2012, at 8:18 PM, "Dennis Malen" <dmalen at malen.com> wrote:

> I am getting the following error:
> 
> 
> 
>  ERROR  Global 'sandy' already defined.
> 
> 
> 
> I have a call statement in @entsel.
> 
> 
> 
> In @entsel I have a "declare extern sandy"
> 
> 
> 
> In the call statement I have "declare global sandy(8)"
> 
> 
> 
> Any reason anyone can see why I would be getting an error.
> 
> 
> 
> Sandy is not defined anywhere else in input processing.
> 
> 
> 
> Dennis Malen
> 
> 516.479.5912
> 
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20121106/6e9cd6f8/attachment.html 
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list

Try reversing the declare. Put declare global in the calling process and declare external in the called program. 

Another solution, if you gave an auto process table is declare global there.  Then sandy will be available in any processing table. 

Richard Kreiss
GCC Consulting


More information about the Filepro-list mailing list