For Programmers: Free Programming Magazines  


Home > Archive > Cobol > August 2007 > Re: CONSTANT ENTRY (was "forward" references (was: COBOL subscript range c









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: CONSTANT ENTRY (was "forward" references (was: COBOL subscript range c
William M. Klein

2007-08-28, 9:55 pm

"Roger While" <simrw@sim-basis.de> wrote in message
news:fb1dmk$at6$01$1@news.t-online.com...
<snip>
> Incidentally a GLOBAL CONSTANT is somewhat different
> in that it has to abide by the GLOBAL constraint.
> ie. This is only possible to refernce backwards.
>
> Roger
>
> Roger
>

Roger,
I see where a GLOBAL constant *MAY* be referenced after it is defined, but I
don't see where it is prohibited from being used BEFORE it is defined (as long
as it is defined at the "same" level of program nesting).

Can you show me where you think there is a constraint otherwise?



--
Bill Klein
wmklein <at> ix.netcom.com


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com