Quote:
Originally Posted by CrazY.
And for else if? : ? or ?: or dont need?
|
else if isn't a special construct . . . i.e. you can create it with the standard if then else:
Code:
if( condition1 )
// then
else
if( condition2 )
//then
end
end
Given the code example code you posted, I would recommend that you do NOT use the ternary if since it's more difficult to understand. Use switches to determine what multilingual key that you want to use.
__________________