making array null?
#1

Hello is there any predefined function in pawno which makes the string array null ? Or I have to use for loop manually ?
Reply
#2

I think this is it:

new string[156];

then: string[0] = E0S;
Reply
#3

pawn Код:
string[0] = EOS;
That will mark the string as empty when checked through strlen or isnull. It will NOT, however, clear the entire string. If that's what you want to do then you need a loop.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)