XML Feeds

.

[javascript-dev] Re: js question from a newbie

Greg peripatitis at gmail.com
Thu Mar 27 06:27:55 MDT 2008


Thanks guys for your help .
Indeed i hadn't thought about arrays starting from index 0.

it's also true that with this script , i can't change the array length if i send a smaller float in the input .

One thing i noticed which also mdk mentioned , also in other scripts i tried to make, that the reverse works on the array itself , i would expect it to work on a copy.

Is there a specific method to copy an array in js or do i have to use a loop to do so ? 

And another question regarding timing issues , in my henon map 
i trigger each iteration with a bang coming from an external object (ex train, metro) .
Would i have any benefits (timewise) if i did this within the script using the task methods or is it the same thing ? 

thanks again

cheers

Greg



More information about the javascript-dev mailing list