5 ms·
My impression was that COBOL has only a global data space, and that there is no way to write functions - rather like the original BASIC?
by mannykannot 9y ago
My impression was that COBOL has only a global data space, and that there is no way to write functions - rather like the original BASIC?
- tolle 9y agoOne way of solving it would be to just put the code you would otherwise put into a function into another application and call that. Not super pretty, but it works. It's preferable over ending up with a massive program with hundreds of sections.