test_switch

Type: M-File

Group: test

Syntax

TEST_SWITCH(value)

Description

A function to test the switch command.

Examples

TEST_SWITCH(2) your choice is x = 2 TEST_SWITCH(5) invalid x 5