Inserting a string variable into an array (ERROR 006)
#1

Hi, I am having a little bit of trouble (much trouble) and I need some help.

Basically, I need to add a string variable to an array and I can't, it always gives me errors. I use the default Pawno BTW.

Here is an example of a script that gives me errors, for example:


main()
{
new array[5];
array[0] = "I AM HAPPY TO SEE YOU";
print(array[0]);
}


I am sorry if I posted in the wrong section, it is the first time I post on this forum and I wish you, the reader, all the best from me.
Reply


Messages In This Thread
Inserting a string variable into an array (ERROR 006) - by Mironinja4 - 15.04.2015, 18:43
Re: Inserting a string variable into an array (ERROR 006) - by MP2 - 15.04.2015, 19:06
Re: Inserting a string variable into an array (ERROR 006) - by Crayder - 15.04.2015, 20:47
Re: Inserting a string variable into an array (ERROR 006) - by Mironinja4 - 16.04.2015, 06:48
Re: Inserting a string variable into an array (ERROR 006) - by Crayder - 16.04.2015, 11:05

Forum Jump:


Users browsing this thread: 4 Guest(s)