1 pagine (3 elementi)
switch and/or elseif statements - Messaggi
Hi all,
I wondered if it was possible to implement new statements such as "switch-case" or "else if" to simplify and make the script more readable when a variable must be processed with more than two criteria (actually the only way it's to nest many "if/else" )
regards,
w3b5urf3r
I wondered if it was possible to implement new statements such as "switch-case" or "else if" to simplify and make the script more readable when a variable must be processed with more than two criteria (actually the only way it's to nest many "if/else" )
regards,
w3b5urf3r
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
w3b,
Here is a little trick I learned to simulate a switch statement. func is a matrix and the last statement is an element of the matrix.

Here is a little trick I learned to simulate a switch statement. func is a matrix and the last statement is an element of the matrix.

Ed
2 utenti hanno apprezzato questo post
Wrotew3b,
Here is a little trick I learned to simulate a switch statement. func is a matrix and the last statement is an element of the matrix.
wonderful trick
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 pagine (3 elementi)
- Nuovi post
- Nessun nuovo post