Hi,

I am running into a problem when running compiled. In interpreted mode, the 
code works just fine.

This is 4D v17R2 on MacOS High Sierra. I am trying to get the content type from 
a cell of a table in a 4D Write PRO area.


$cellrange:=WP Create range($CellObj;wk start text;wk end text)                 
                
ST GET OPTIONS($cellrange;ST Expressions display mode;$option)
a4TBL_cellContentType{$i}:=ST Get content 
type($cellrange;$cellrange.start;$cellrange.start)

On the 3rd line, I get this error: (but only when compiled)

’The pointer is not properly initialized’

- a4TBL_cellContentType is a longint array (14 elements in this case)
- $i =1
- $cellrange is typed as c_object
- $cellrange.start =114

Any ideas on how to make this work?


Regards,

Rudy Mortier
Two Way Communications bvba 




**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to