Compil Problem
#8

One string is 128, one string is 256, you try to place 256 cells into 128 cells worth of space and it will give you that error as they don't match 128 < 256.

Wrong:

pawn Code:
new
  string1[ 256 ],
  string2[ 128 ];

string2 = string1; //this would be strtok
Right:

pawn Code:
new
  string1[ 128 ],
  string2[ 128 ];

string2 = string1; //this would be strtok
Reply


Messages In This Thread
Compil Problem - by rootman - 23.09.2009, 20:46
Re: Compil Problem - by Correlli - 23.09.2009, 20:48
Re: Compil Problem - by rootman - 23.09.2009, 20:55
Re: Compil Problem - by Correlli - 23.09.2009, 20:57
Re: Compil Problem - by rootman - 23.09.2009, 21:08
Re: Compil Problem - by Donny_k - 23.09.2009, 22:35
Re: Compil Problem - by rootman - 23.09.2009, 23:33
Re: Compil Problem - by Donny_k - 24.09.2009, 00:05
Re: Compil Problem - by rootman - 24.09.2009, 02:29
Re: Compil Problem - by Jose 510 - 24.09.2009, 04:45

Forum Jump:


Users browsing this thread: 7 Guest(s)