Binary form of strings
#9

You do realize that this is already implemented into PAWN as packed strings?
Code:
new string[5 char] = !"test";
printf("number base 10: %d", string[0]);
printf("number base 2: %b", string[0]);
will print
Code:
number base 10: 1952805748
number base 2: 1110100011001010111001101110100
Reply


Messages In This Thread
Binary form of strings - by Gammix - 07.09.2015, 06:17
Re: Binary form of strings - by Crayder - 07.09.2015, 07:24
Re: Binary form of strings - by Gammix - 07.09.2015, 07:33
Re: Binary form of strings - by Crayder - 07.09.2015, 07:42
Re: Binary form of strings - by Gammix - 07.09.2015, 08:03
Re: Binary form of strings - by Crayder - 07.09.2015, 08:12
Re: Binary form of strings - by Gammix - 07.09.2015, 08:18
Re: Binary form of strings - by Crayder - 07.09.2015, 16:24
Re: Binary form of strings - by maddinat0r - 07.09.2015, 18:36
Re: Binary form of strings - by Mauzen - 10.09.2015, 01:45

Forum Jump:


Users browsing this thread: 1 Guest(s)