01.04.2015, 17:38
Doing this
Isn't possible, because this , is supposed to hold an integer generally but doing this is possible:
pawn Код:
new Input = {'a','b','c','d','e'};
print(Input);
pawn Код:
new Input[6] = {'a','b','c','d','e'};
print(Input);//would print 'abcde'
//tests:
for(new i = 0; i <6; i++) printf("%d:%s",i,Input);
/*
Would Print:
0:a
1:b
2:c
3:d
4:e
5: ' '//Means an empty message because the fifth cell is for the \0 , the null character
*/