View Single Post
Suggestion - Switch case
Old
tumami
Junior Member
 
Status: Offline
Posts: 7
Join Date: Nov 2013
Location: Argentina
Lightbulb Suggestion - Switch case - 05-13-2014, 05:42 PM

Hello, i have an suggestion:

Implement the switch command. It is similar to "if/else".

Example using If/Else.

If students = 90
do anything

Else
If students = 80
do anything

Else
If students = 70
do anything

Else
if students = 60
do anything

Else
if students = 50
do anything

Example using Switch:

Switch students
Case 90: do anything
Case 80: do anything
Case 70: do anything
Case 60: do anything
Case 50: do anything

and down of the last case, a button to add a new case.

Its a good idea?
Attached Images
File Type: jpg switch.jpg (11.6 KB, 9 views)


Argentina !
   
Reply With Quote