Thanks Keisuke. Another lesson learned ;-)
Regards, Rudy Mortier Two Way Communications bvba > On 15 Dec 2018, at 03:16, Keisuke Miyako via 4D_Tech <[email protected]> > wrote: > > I would use an intermediate local variable instead of using an object > notation property directly as a command/function parameter. > not all commands work with properties. > > --- > > the grammar makes a distinction between a value and a variable which is a > container of a value. > > formulae that evaluate as undefined would not change the state of the left > operand in an assignment (:=), in previous versions. > but now (I think since 16R4), an attempt to assign"undefined" is made. > > perhaps that is why you are getting a runtime error, > >> 2018/12/15 9:47、Two Way Communications via 4D_Tech >> <[email protected]>のメール: >> >> $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’ > > > > > ********************************************************************** > 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] > ********************************************************************** ********************************************************************** 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] **********************************************************************

