<

Watch Switch Statement

Posted on
6,137 Points
137 Views
Last Modified:
Published
Experience Level: Beginner
5:00
After learning about conditional statements, viewers are now ready to create a switch statement. A switch statement is based on the same concept but is more efficient and easier to read once understood. Furthermore, it can address cases much more specifically.

Video Steps

1. Conditional vs Switch

2. Switch statement definition

3. Example

4. Testing

5. Alternate Coding with Conditional Statements

6. Differences and Improvements

0
0 Comments

Suggested Videos

Many programming languages have a Switch–Case capability. Since its first beta in 2003, AutoHotkey has not had one. Finally, in the recent 28-Sep-2019 release of Version 1.1.31.00, it now has Switch–Case. This article discusses it and shows a sample…
In configurations with multiple monitors, it can be difficult and time-consuming to move the mouse pointer to a particular monitor. This article presents a script written in AutoHotkey that defines hotkeys — such as Alt+Ctrl+1, Alt+Ctrl+2, etc. — to…
Other videos by this author
  1. Loops (Part 1)(4:27)
  2. Math Operations(4:05)
  3. Variables and Data Types(5:10)

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month