[Tutorial] Directives #if, #else, #elseif, #endif and #error
#4

@up:
I really suggest exiting early strategy, this way you won't get nested if's upon if's:

pawn Code:
if(MyInfo < 3)
{
    print("My info loves you, but it's not enough");
   
    return 1;
}

print("My info is adequate, you can work further here!");
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)