Variables in Pawno.
#3

All strings (except literal) are arrays, but not all arrays are strings.
pawn Код:
new myString[6] = "Hello";
new myString[6] = {'H', 'e', 'l', 'l', 'o', '\0'};
new myString[6] = {72, 101, 108, 108, 111, 0};
Are all equivalent.
Reply


Messages In This Thread
Variables in Pawno. - by Snip3d - 04.07.2012, 22:29
Re: Variables in Pawno. - by Tee - 04.07.2012, 22:37
Re: Variables in Pawno. - by Vince - 04.07.2012, 23:24

Forum Jump:


Users browsing this thread: 1 Guest(s)