What's the use of case of? [closed]

-1

I have been wondering how to make good use of the case of but I do not know how to implement it correctly or when it is necessary to do so. I would like someone to explain to me how it works.

    
asked by Jose Guillermo Cordero Garcia 06.07.2017 в 07:36
source

1 answer

2

To explain it in a simple way, the CASE ... OF gives you the possibility (in many cases) to avoid the IF ... THEN sentence when you have many nestings or many conditions. A premise to use it is that the selection expression must be a numerical, ordinal, enumerated, ... but can not be any type.

A couple of links with examples and a simple explanation can be this page: link

Or the Embarcadero DocWiki itself:
link

    
answered by 06.07.2017 в 12:42