Max string size
#7

Quote:
Originally Posted by Famalamalam
Посмотреть сообщение
Uh oh, you should always use 128 over 256. I don't have an opinion on this, other than I've seen in some game-modes strings up to 5000, for things like files, etc. Obviously if you're using strings for things like textdraws there is a limit of 1024.
It depends completely on how big the string you're going to use is going to be. Just because you're making a new array doesn't mean you should automatically assign it to 128 cells. If you know a string is not going to be over 30 units, you would make it 30 cells.

Anyway, I looked through the pawn_lang.pdf and other documents. I couldn't find any limits.
Reply


Messages In This Thread
Max string size - by dowster - 08.08.2011, 01:38
Re: Max string size - by Jack_Leslie - 08.08.2011, 02:34
Re: Max string size - by Calgon - 08.08.2011, 02:40
Re: Max string size - by grand.Theft.Otto - 08.08.2011, 02:57
Re: Max string size - by Famalamalam - 08.08.2011, 03:04
Re: Max string size - by dowster - 08.08.2011, 21:10
Re: Max string size - by Grim_ - 08.08.2011, 21:18
AW: Max string size - by Nero_3D - 08.08.2011, 22:25
Re: AW: Max string size - by Calgon - 09.08.2011, 01:41

Forum Jump:


Users browsing this thread: 2 Guest(s)