Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   addnamedstring(index, string) (https://forums.graalonline.com/forums/showthread.php?t=74135)

xAndrewx 05-22-2007 10:24 PM

addnamedstring(index, string)
 
HTML Code:

  temp.myArray.addArray( {"Here", "is", "test"} );
  echo(temp.myArray);

  temp.myTest.addnamedstring(2, "a");
  echo(temp.myTest);

Doesn't insert "test" in the index of 1.
Here's the outcome:

PHP Code:

Here,is,test,


JkWhoSaysNi 05-22-2007 10:30 PM

isn't the function insert for that?

obj.insert(index,obj2)


All times are GMT +2. The time now is 11:10 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.