| Lueko Willms 2005-02-26, 3:55 pm |
| .. On 25.02.05
wrote riplin@Azonic.co.nz (Richard)
on /COMP/LANG/COBOL
in 1109373301.700645.160540@l41g2000cwc.googlegroups.com
about Re: Treeviews
r> In the case of a GUI application this may be divided into many modules
r> or subroutines, for example each catering for a different dialog.
r> This means that each can only be used once at one time in a run-unit.
r> If, for example, you have a 'message box' subroutine then if it is
r> activated from two parts of the program (ie it is active and another
r> routine calls it) then the program may crash. If the code is in a
r> class then multiple instances can be created without crashing.
But that has nothing to do with OO, but with reentrancy.
One can have reentrant programs, i.e. programs which are loaded
once to memory, and quasi-simulatenously executed by many different
users without Object-Orientation.
This is particularly for DLL or similar libraries and for
transaction programs.
Yours,
Lüko Willms http://www.willms-edv.de
/--------- L.WILLMS@jpberlin.de -- Alle Rechte vorbehalten --
Er urteilt nach dem jedesmaligen Aggregatzustand seiner Empfindungen. -G.C.Lichtenberg
|