Table Of Contents

otherwise

Version:
    Last Modified: December 12, 2016

    Specifies a default case in a switch statement. The general calling structure of a switch statement is:

    switch expression

    case expression

    statement, ... , statement

    ...

    otherwise

    statement, ... , statement

    end

    The otherwise case is optional.

    Syntax

    otherwise
    A = 1
    switch A
      case 1
      A = A + 1
    otherwise
      A = A - 1
    end

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: DAQExpress does not support FPGA devices


    Recently Viewed Topics