Putting character to string problem
#2

This seems like an Out-of-Bounds error. I think you're replacing the null terminator with the = sign. Thereby, Pawn doesn't know where the string ends and continues to read memory until it encounters another null terminator. By sheer chance, the value variable is next in memory.

I'm not entirely sure how this can be solved, because I believe strins will complain about "indeterminate array size". Would need to see the entire function.
Reply


Messages In This Thread
Putting character to string problem - by Riwerry - 28.05.2014, 10:51
Re: Putting character to string problem - by Vince - 28.05.2014, 11:52
Re: Putting character to string problem - by ball - 28.05.2014, 13:13
Re: Putting character to string problem - by Riwerry - 28.05.2014, 17:00
Re: Putting character to string problem - by Konstantinos - 28.05.2014, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)