Book a Demo

Author Topic: Collection.GetAt(short index)  (Read 4133 times)

JayBee15

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Collection.GetAt(short index)
« on: December 04, 2015, 10:10:38 am »
Question about Collection.GetAt. It expects a short to be passed in, which indicates the maximum size of the Collection would be 32767. Is this assumption correct? And if so, what is someone to do if the Collection has more than that number? Will it crack even trying to build the Collection in the first place?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Collection.GetAt(short index)
« Reply #1 on: December 04, 2015, 09:28:14 pm »
I guess, that EA will crash. It has quite a number of limitations (like text lengths below 255) that stem from its childhood: MS Access. EA is like Bill Gates: although grown up it still looks like a child.

OTOH (reading Geert's comment on SO): 32k elements in a collection really looks like your model is messed up.

q.
« Last Edit: December 04, 2015, 09:50:11 pm by qwerty »