do case statement is exactly as it was in the Clipper, the VO and the Vulcan.NET language:
do case case cExpr == "abc" DoSomething() case cExpr >= "d" .and. cExpr < "f" DoSomethingOther() case Upper( cExpr ) == "z" DoAnotherThing() otherwise DoWhatEverYouLike() endcase
It is very flexible, but the flexibility comes at a cost: it is easy to make errors and it is slower than the
Is is another form of an
if - elseif statement.