gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] ENTRY statement: obsolete?


From: Brian Tiffin
Subject: Re: [open-cobol-list] ENTRY statement: obsolete?
Date: Sun, 24 Aug 2014 01:22:28 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1

Scott McKellar wrote:
What does it mean that the FAQ labels the ENTRY statement as obsolete (or any 
other statement for that matter)?

Does it mean "Don't use it because it's likely to go away?"  Or does it just mean 
"Don't use it because it's unfashionable and I don't like it?"

I ask because I'm writing a new subprogram using ENTRY.  It encapsulates a 
complex data structure, with a separate entry point for each supported 
operation.


If ENTRY is going away, I can write the program differently.  However no 
alternative that I can think of is very appealing, except perhaps to rewrite it 
in C.  ENTRY does exactly what I want.

If ENTRY will continue to be available, I'll use it, and shrug off the sneers.

Scott McKellar

Scott. In my opinion, use it and shrug. ENTRY is not even mentioned in COBOL 2014, but is one handy statement. I've reworded the FAQ. The default.conf configuration has it listed as 'obsolete', mf.conf as 'ok'. It'll be supported in GNU Cobol for some time to come.

Opinion. But I'll rail against any change that threatens the feature. It's too handy, and makes for nice concise code blocks with a shared data space.

Cheers,
Brian


------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list



reply via email to

[Prev in Thread] Current Thread [Next in Thread]