Posts: 218
Threads: 33
Joined: Dec 2013
Reputation:
0
Just put the size there.. I don't really see the point in doing what you are doing.
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
array size must be indexed aka you need to give a size to chars array, strlen(string) will never work, you need a static value, such as new chars[32]; there is no such thing as dynamic arrays, at least in pawn.
Posts: 2,856
Threads: 6
Joined: Jun 2007
Reputation:
0
What you are looking for is y_malloc, it allocates a part of the stack and you can manage it with it