View Single Post
Old 07-15-2011, 01:28 AM   PM User | #5
alykins
Senior Coder

 
alykins's Avatar
 
Join Date: Apr 2011
Posts: 1,608
Thanks: 37
Thanked 183 Times in 182 Posts
alykins will become famous soon enough
i think you need to set up the "type" of array you are going to use... idk if it is defaulting to something other than string...
eg
var blah= new Array(int, 10).... i don't really know how to set up arrays in javascript (haven't done this yet) but in every other language i've used i've had to set the "type" of array i was creating eg int, string, bool, etc
reading your error i think this is what is happening... so if i am the compiler and idk what kind of array you want so i make an array of ten ints, now you try to cram 10 strings in me im gunna spaz out... i might be off on this but that's my idea
__________________

I code C hash-tag .Net
Reference: W3C W3CWiki .Net Lib
Validate: html CSS
Debug: Chrome FireFox IE
alykins is offline   Reply With Quote