For Programmers: Free Programming Magazines  


Home > Archive > Cobol > March 2006 > OO Methods









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 OO Methods
James J. Gavan

2006-03-18, 6:55 pm

Frank,

Made this a separate message, rather than having to search through other
threads.

Quick answer on your speculative nested methods - won't work, or even
more accurately wont compile. (I can indicate later).

May not be so - but methinks you have a bee in your bonnet. I picked up
on one of your replies where you indicated, 'You would like to restrict
access to private methods to the current class'.

It's a wild guess - does this have anything to do with security of bank
applications - which I know must be a large and sophisticated area in
banking. If that's the case, or something close to that, care to briefly
spell out what your concerns are. Then some of us could make some
tentative suggestions with regard to OO COBOL.

Jimmy
Frank Swarbrick

2006-03-20, 9:55 pm

James J. Gavan<jgavandeletethis@shaw.ca> 03/18/06 2:57 PM >>>
>Frank,
>
>Made this a separate message, rather than having to search through other
>threads.
>
>Quick answer on your speculative nested methods - won't work, or even
>more accurately wont compile. (I can indicate later).
>
>May not be so - but methinks you have a bee in your bonnet. I picked up
>on one of your replies where you indicated, 'You would like to restrict
>access to private methods to the current class'.
>
>It's a wild guess - does this have anything to do with security of bank
>applications - which I know must be a large and sophisticated area in
>banking. If that's the case, or something close to that, care to briefly
>spell out what your concerns are. Then some of us could make some
>tentative suggestions with regard to OO COBOL.


Nothing to do with banking, actually. I just know that other OO languages
have "public", "protected", and "private" method and field attributes
available, and I was just wondering how one could get the same effect in
COBOL. I figured, since COBOL allows for nested programs then it might also
allow for nested functions. Guess not! Though I have to wonder why...

Frank


---
Frank Swarbrick
Senior Developer/Analyst - Mainframe Applications
FirstBank Data Corporation - Lakewood, CO USA
Sponsored Links







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

Copyright 2008 codecomments.com