Multiple choice technology programming languages

How to conditionally execute one of several group statements based on value of specific field

  1. EVALUATE … END-EVALUATE

  2. SWITCH CASE

  3. CASE … END-CASE

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The question asks about conditional execution based on a field value in Easytrieve. Option C 'CASE...END-CASE' is claimed correct and is indeed the Easytrieve construct for multi-way branching similar to switch/case in other languages. Option A 'EVALUATE' is not valid Easytrieve syntax. Option B 'SWITCH CASE' is not correct syntax. Option D is incorrect since CASE...END-CASE exists.