Page 1 of 1

array size limit on styledtextf?

Posted: Sat Mar 30, 2013 6:26 pm
by sturgis
I've been messing with building styledtext arrays and have found a strangeness similar to the display limits and line length limits for fields.

Basically, I have a field and a button to generate lines of random text for the field, and a button to iterate through the lines of the field (using for each) that builds up a styledtext array based in a simple criteria. This works swimmingly right up until the array size crosses a bit size boundary as far as the number of entries (main key entries)

What I mean by this is that a field with 65535 lines works fine. A field with 65536 lines does not, and when setting the styledtext of field "whateverfield" to theArrayICreatedA the result is an empty field. Its not a limit on the number of lines in the field since more than 65535 lines can be displayed with no issue. Its specific to the number of main keys in the array.

So my question is this... Is it an os limitation? A choice that had to be made during development? And is there a workaround?