Truncated Large Arrays or Strings in globals.js

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Truncated Large Arrays or Strings in globals.js

Postby joe26 » Wed Feb 13, 2019 6:05 pm

I've been encountering a behavior that large arrays or long strings are truncated when defined in the global scope.

The arrays are truncated to appear as a string. Long Strings are truncated to a hundred or so characters.

I can populate both from a function, and initially the large strings and arrays function correctly and then something goes awry.

Is this a Javascript limitation? I get around it by using functions to put the data into a global string or global array. Might use a valuelist, but really access it through code so arrays and strings are simpler.

thanks!
--Joe.
joe26
 
Posts: 111
Joined: Wed Jun 19, 2013 10:30 pm

Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 4 guests