Ordinals
#1

Hello,

I recently developed my own way of encrypting passwords in PHP. It revolves around converting a character its ordinal value.
Код:
$c = ord($input[$])       where $input is a string
Now I would like to do this inside PAWNO, but I have absolutely no idea how to go about doing this (****** isn't any help here).

Please Help,
Cody_Maverak
Reply
#2

Nevermind...figured it out with:

Код:
new text;
text='V';
new value[256];
valstr(value, text);
print(value);                            prints out the number 86
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)