ac on 6 Oct 2017 00:19:09 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Cobol: was Topic for North this month |
On Thu, 5 Oct 2017 20:24:52 -0400 Walt Mankowski <waltman@pobox.com> wrote: > On Thu, Oct 05, 2017 at 08:07:38PM -0400, Steve Litt wrote: > > On Thu, 5 Oct 2017 12:12:19 -0400 > > Walt Mankowski <waltman@pobox.com> wrote: > > > We still need a speaker for North on Tuesday. I haven't done my > > > COBOL and punch cards talk there yet. Any interest? > > I always liked Cobol, except for the fact that every variable was a > > global variable, which drove me away. > > Did Cobol ever get local variables inside procedures or whatever > > their subroutines are called? > Yes, but it's a little tricky because Cobol uses different terminology > than modern languages. Cobol's equivalent of functions or subroutines > are called "subprograms". Variables declared in the local-storage > section of the data division are dynamically allocated and initialized > each time the subprogram is run, much like local variables in > functions are. > Walt ooh, i would love to see slides/docs on any COBOL talk! i have not used it in over a decade, so if this does go down, please post somewhere so that any unfortunates (like myself) who cannot attend, could download, please :) Andre ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug