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

How to compare to values range

$
0
0

Hi,

Is it possible to compare to a range of values in COBOL? I'm thinking of something like this:

if account-id between 1 and 7 then

perform debit-internal-account

else

debit-customer-account

end-if

Regards


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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