For Programmers: Free Programming Magazines  


Home > Archive > Cobol > July 2006 > Global / Local (was: Fill a comp-3 variable









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 Global / Local (was: Fill a comp-3 variable
William M. Klein

2006-07-25, 6:55 pm


"Jürgen Vetter" <vetter@dokom.net> wrote in message
news:44c68d3d$1@news.knipp.de...
> Am 25.07.2006 14:42 schrieb Michael Mattias:
>
>
> that's right! I use the value clause in the definition of variables only
> if i want to use them as constants. Because cobol can't mace a differenz
> between global and local variables i devide them be defining groups.
>

<snipage>

HUH????

COBOL has supported local and global variables since the '85 Standard. Now, if
you don't USE nested programs, but just paragraphs or sections, this won't do
you any good. However, if YOU want to use such, they have been available for
decades!!!

--
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