Array manipulation on server side

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

User avatar
Pippoflash
Posts: 135
Joined: 30 Jan 2006, 17:16
Contact:

Array manipulation on server side

Postby Pippoflash » 21 Feb 2006, 13:35

On the extension ECMAScript, I need to manipulate some arrays, but something I can't understand happens...

If I create an array [1,2,3,4,5]
Then I
delete array[0]

The content of slot 0 is erased, but in a for/in loop, the slot 0 is still counted...

I noticed that splice() doesnt work on server side.

How can I completely delete a slot from an array?

thx!
-----------------------
www.pippoflash.com
-----------------------
User avatar
Pippoflash
Posts: 135
Joined: 30 Jan 2006, 17:16
Contact:

Postby Pippoflash » 21 Feb 2006, 13:37

Sorry I think I mistaken something in my code...
More news to come :)
-----------------------

www.pippoflash.com

-----------------------

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 16 guests