Capitalizing letters....
#1

pawn Код:
stock Capitalize(letter[])
{
    switch(letter)
    {
        case a:
        return A;
        case b:
        return B;
        case c:
        return C;
        case d:
        return D;
        case e:
        return E;
        case f:
        return F;
        case g:
        return G;
        case h:
        return H;
        case i:
        return I;
        case j:
        return J;
        case k:
        return K;
        case l:
        return L;
        case m:
        return M;
        case n:
        return N;
        case o:
        return O;
        case p:
        return P;
        case q:
        return Q;
        case r:
        return R;
        case s:
        return S;
        case t:
        return T;
        case u:
        return U;
        case v:
        return V;
        case w:
        return W;
        case x:
        return X;
        case y:
        return Y;
        case z:
        return Z;
    }
}
Would this be possible in another way?
Reply
#2

Sure.
Код:
native toupper©;
And you code wouldn't even work.
Reply
#3

Quote:
Originally Posted by Sergei
Посмотреть сообщение
Sure.
Код:
native toupper©;
And you code wouldn't even work.
I know it wouldn't. Lol. Thanks for the toupper thing.. didn't even know that existsed.. O.o
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)