|
0 registered members (),
16,302
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Wath is the maximum size of an array?
[Re: MasterQ32]
#359678
02/19/11 00:18
02/19/11 00:18
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
|
array size is limited by system memory and probably with the maximum array index you can indicate.
3333333333
|
|
|
Re: Wath is the maximum size of an array?
[Re: MasterQ32]
#359679
02/19/11 00:24
02/19/11 00:24
|
Joined: Oct 2010
Posts: 11 Netherlands Antilles
aaronde
OP
Newbie
|
OP
Newbie
Joined: Oct 2010
Posts: 11
Netherlands Antilles
|
Yes you are right. I made the array smaller. (two small arrays) and it still chashes. I think the problem is with the data. The data are coordinates that are generated in sketchup and i thing the problem is with this.
1.15506440454583e-012
some of the number are like this. (should be 0)
Now i need to look for a way to correct this. There are a lot of items (the 309 where only to test it). Any one know of a way to correct it.
Skecthup (a plugin) exports a csv file.
EDIT: After some experimenting, it results that those numbers where causing the error's. Shouldn't the engine give a syntax error for that instead of crashing?
I found an easy way to convert the number easly. I just importet the csv file to excel. Did some things there and saved it. The new csv file had all the numbers correctly written.
Last edited by aaronde; 02/19/11 01:29.
|
|
|
Re: Wath is the maximum size of an array?
[Re: aaronde]
#359734
02/19/11 08:12
02/19/11 08:12
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
Expert
|
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
I often think that the engine should give an error message instead of crashing, but if the engine looked for an overflow (or in this case, alphabetical numbers in what you're trying to assign as a variable) every time you assign something, I think it would slow down the engine by a huge amount. So I think it makes sense that it doesn't check here.
Just out of interest: your taking google sketchup data and importing it into 3dgs?
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
|
|
|