BelgianBrownie
Programmer
Hello one and all. It's a long story that I will not go into, but after not programming since 1989, I have taken on the maintenance of a bespoke system for a small business in my area.
The system is written in Clipper Summer 87, a language that I have never seen before! I am making some good progress, but I have a "dumb" question to ask about the "DO CASE" command.
There is a piece of code like this:
DO CASE
CASE....
CASE....
CASE....
EXIT
variable=1
ENDCASE
My question is, as there is no OTHERWISE, when all CASE tests are false, will the program drop to ENDCASE or perform the "variable=1" statement? In other words, is there an implied "otherwise"?
Many thanks in advance.
The system is written in Clipper Summer 87, a language that I have never seen before! I am making some good progress, but I have a "dumb" question to ask about the "DO CASE" command.
There is a piece of code like this:
DO CASE
CASE....
CASE....
CASE....
EXIT
variable=1
ENDCASE
My question is, as there is no OTHERWISE, when all CASE tests are false, will the program drop to ENDCASE or perform the "variable=1" statement? In other words, is there an implied "otherwise"?
Many thanks in advance.