Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Does COBOL have the equivalent of the c# Using statement?

$
0
0

Hi Phil, COBOL has the PERFORM USING statement, the equivalent is something like:

          perform using uow as type UnitOfWork = new UnitOfWork

             *> Create, update or delete objects

             invoke uow::CommitChanges()

          end-perform


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>