User Tools

Site Tools


docase

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docase [2018/03/25 17:12] – created wolfgangriedmanndocase [2018/08/20 04:06] (current) wolfgangriedmann
Line 3: Line 3:
 The ''do case'' statement is exactly as it was in the Clipper, the VO and the Vulcan.NET language: The ''do case'' statement is exactly as it was in the Clipper, the VO and the Vulcan.NET language:
  
-<code>do case+<code visualfoxpro>do case
 case cExpr == "abc" case cExpr == "abc"
   DoSomething()   DoSomething()
Line 15: Line 15:
  
 It is very flexible, but the flexibility comes at a cost: it is easy to make errors and it is slower than the ''switch'' statement. It is very flexible, but the flexibility comes at a cost: it is easy to make errors and it is slower than the ''switch'' statement.
 +Is is another form of an ''if - elseif'' statement.
  
docase.txt · Last modified: 2018/08/20 04:06 by wolfgangriedmann