The switch and case keywords evaluate an expression and execute any statement associated with a constant expression whose value matches the initial expression.
If there is no match with a constant expression, the statement associated with the default keyword is executed. If the default keyword is not used, control passes to the statement following the switch block.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|