Raised This Month: $ Target: $400
 0% 

What is max string length?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BigWalnutZ
Junior Member
Join Date: Apr 2005
Old 04-17-2005 , 15:36   What is max string length?
Reply With Quote #1

When I did AMX plugins I used a const that was a default, something like MAX_TEXT_LENGTH, or something to that affect. Reson I ask is because I do not know what the max length is and it is screwing up my plugin.

It works with
Code:
new message[2001] add(message, 2000, "blah") add(message, 2000, "more blah")
It doesn't work with
Code:
new message[4000] add(message, 3999, "blah") add(message, 3999, "more blah")

Error was something about a stack error. When I made the changes above it would do that. the 2000 working and the 4000 not[/code]
BigWalnutZ is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode