Raised This Month: $22 Target: $400
 5% 

The perfect if else statement doesn’t exis..


Post New Thread Reply   
 
Thread Tools Display Modes
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 12-03-2023 , 11:07   Re: The perfect if else statement doesn’t exis..
Reply With Quote #11

You should know what each function does since you were the one that built it, that is why writing an easy-to-read code is important. The size of the code is defined by the project itself and should not matter anyway.

Trying to make the code easy to understand in case you get lost (or even if you are in a project involved by multiple people) is what will help you fix the wrong syntaxes, calculations and parameters you accidentally missed.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 12-07-2023 , 21:42   Re: The perfect if else statement doesn’t exis..
Reply With Quote #12

]
PHP Code:
if(something)
{
     
// works
     
return;
}

// not works 
__________________
SED LYF !!!
SHIELD755 is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 12-07-2023 , 23:30   Re: The perfect if else statement doesn’t exis..
Reply With Quote #13

PHP Code:
if (error_1)
{
    
// not works.
    // something msg.
    
return;
}
if (
error_2)
{
    
// not works.
    // something msg.
    
return;
}
if (
error_3)
{
    
// not works.
    // something msg.
    
return;
}

// works. 
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- is online now
Reply


Thread Tools
Display Modes

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 06:49.


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