Hi Bob,

Maybe you could try increasing the stack size for the process that the form is 
open in, I would recommend 1MB of stack size (1024*1024) or use 0 to let 4D 
decide the appropriate stack size.

Since the issue only happens in compiled mode and you cannot step through the 
debugger while in compiled mode, you may need to add some extra logging to the 
form so that you can confirm that everything is being completed as you expect. 
Perhaps one of the calculations is off (you are using parenthesis to force the 
order of operations right)?

-Tim






From: Robert McKeever [mailto:bobmckee...@mac.com]
Sent: Tuesday, June 20, 2017 10:27 AM
Subject: Re: Cache Settings

Picture if you will, a grid where each line is a day (can have up to 4 lines 
per day), and each cell on a line is a 15 minute time block.

There are 2D arrays for describing what a cell contains - the predominant 
background color, the ‘booked’ cell color, any text (single character) to be 
shown in the cell, the time mark if there is no cell text, etc.

Each line is rendered in SVG, and stored in a table for display. When the user 
clicks on a cell, we get the co-ordinates and the line number.

A bit of math, and you get the time for the cell, etc. At that point, the 
single dimension arrays are copied from the various 2D arrays, being easier to 
deal with. And, when I go to re-create the line in SVG, sometimes I get 
out-of-range errors when indexing into one of the arrays. the array (or several 
of them) are ‘short’.

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to