Posts: 654
Threads: 161
Joined: Dec 2015
Reputation:
0
Is there any possible way to make an alternative of the "else if" function? Like through #define?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Having too use many "else if" is usually a sign of bad design. See if you can use switches, arrays or early returns.
Posts: 654
Threads: 161
Joined: Dec 2015
Reputation:
0
Nevermind, I got it. Thanks tho
Posts: 1,939
Threads: 11
Joined: Oct 2015
Reputation:
0
also else if is not a function