Tips & Tricks
#1

In dit topic kun je alle 'minitutorials' neerzetten. Bijvoorbeeld:

Short-hand notatie if-else
In plaats van:
pawn Code:
if(thisIsSparta <= 9000)
{
    echo "Under 9000 (or the same, but meh)";
} else {
    echo "OVER 9000!!!!!!!";
}
kan je de short-hand notatie gebruiken:
pawn Code:
echo (thisIsSparta <= 9000) ? "Under 9000 (or the same, but meh)" : "OVER 9000!!!!!!!";
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)