Raised This Month: $ Target: $400
 0% 

[ SOLVED ] FormatEX?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-14-2015 , 13:00   Re: [ HELP ] FormatEX?
Reply With Quote #1

And for else if? : ? or ?: or dont need?
__________________









Last edited by CrazY.; 11-14-2015 at 13:00.
CrazY. is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-14-2015 , 13:04   Re: [ HELP ] FormatEX?
Reply With Quote #2

Quote:
Originally Posted by CrazY. View Post
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.
__________________

Last edited by fysiks; 11-14-2015 at 13:07.
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode