Shortening a long if statement - 08/10/08 02:49 PM
Hello,
I was wondering wether or not there was a way to short this huge if statement
Thanks a bunch.
Cheers,
Jay
I was wondering wether or not there was a way to short this huge if statement
Code:
;elseif ($5 == LANGUAGE) { var %l = $remove($6,:) | if (%l == en) { %l = English } | if (%l == NL) %l = Dutch | if (%l == JA) %l = Japanese | if (%l == DE) %l = German | if (%l == AR) %l = Arabic | if (%l == FR) %l = French | if (%l == ES) %l = Spanish | echo %w $chr(149) Language: %l | halt }
Thanks a bunch.
Cheers,
Jay