Huge string
#4

Use strcat. An example:

pawn Код:
new string[129];

string[0] = '\0';

strcat(string, "This is a line\n", sizeof(string));
strcat(string, "This is another line\n", sizeof(string));
strcat(string, "Die potato\n", sizeof(string));
Reply


Messages In This Thread
Huge string - by Larry123 - 01.03.2012, 11:25
Re: Huge string - by T0pAz - 01.03.2012, 11:27
Re: Huge string - by Stylock - 01.03.2012, 11:28
Re: Huge string - by Universal - 01.03.2012, 11:29
Re: Huge string - by Larry123 - 01.03.2012, 11:31
Re: Huge string - by milanosie - 01.03.2012, 11:32
Re: Huge string - by T0pAz - 01.03.2012, 11:33
Re: Huge string - by Larry123 - 01.03.2012, 11:36
Re: Huge string - by T0pAz - 01.03.2012, 11:38
Re: Huge string - by Larry123 - 01.03.2012, 11:47

Forum Jump:


Users browsing this thread: 1 Guest(s)