22.01.2011, 14:51
4) well, i declared those vars global on top of the script, so it should work, like my format function.
5) Sure they don't? As I know they take more space if they are bigger. So the question is: Is string[127] bigger than string[120] ? For the first view I'd say yes, but in the RAM, I read/understood they use degree's of 2, so 128.
Maybe it's clearer with the following question: string[127] and string[128], is the difference high? Means: It's just 1 byte or 129 byte untill the next degree of 2nd is reached?
6)
Okay, that's nice to hear.
To your edit:
A ZCMD-function should return 0 if it success?
For sure, I look forward to hearing more different oppinions
edit:
damn, didn't wanted to post twice, wanted to edit in my other post but Іlate.
@Silent
Well, but I think its senseless to create 1000 times a string, if just one would do, too. For sure, it depends on which it is used for ( for chat ~ 127, for commands just 16 or sth. like that ).
ups, mixxed up global with local, so nvm ^^
5) Sure they don't? As I know they take more space if they are bigger. So the question is: Is string[127] bigger than string[120] ? For the first view I'd say yes, but in the RAM, I read/understood they use degree's of 2, so 128.
Maybe it's clearer with the following question: string[127] and string[128], is the difference high? Means: It's just 1 byte or 129 byte untill the next degree of 2nd is reached?
6)
Okay, that's nice to hear.
To your edit:
A ZCMD-function should return 0 if it success?
For sure, I look forward to hearing more different oppinions

edit:
damn, didn't wanted to post twice, wanted to edit in my other post but Іlate.
@Silent
Well, but I think its senseless to create 1000 times a string, if just one would do, too. For sure, it depends on which it is used for ( for chat ~ 127, for commands just 16 or sth. like that ).
ups, mixxed up global with local, so nvm ^^