Re: POINTER TO ARRAY

2017-05-11 Thread Arnaud de Montard via 4D_Tech
> Le 11 mai 2017 à 02:49, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Pointers to locals do work. I pass locals via pointer from method to method > all of the time Yes, but here the thing pointed is one of those variables created "on the fly" with Get pointer("aStringUnkno

Re: POINTER TO ARRAY

2017-05-10 Thread stardata.info via 4D_Tech
g Technical<4d_tech@lists.4d.com> Subject: Re: POINTER TO ARRAY Message-ID:<2aa79c30-b059-45d2-bedd-50dba5fbe...@compdim.com> Content-Type: text/plain; charset=us-ascii Try changing the line "c_pointer($vPoint->)" to "c_pointer($vPoint)", and make sure $X is

Re: POINTER TO ARRAY

2017-05-10 Thread Chuck Miller via 4D_Tech
Pointers to locals do work. I pass locals via pointer from method to method all of the time Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mail

Re: POINTER TO ARRAY

2017-05-10 Thread Keisuke Miyako via 4D_Tech
because local variable do not have a name in compile mode, Get pointer (which works on names) does not work for local variables. 2017/05/11 6:39、stardata.info via 4D_Tech <4d_tech@lists.4d.com> のメール: Someone know because? **

Re: POINTER TO ARRAY

2017-05-10 Thread Keith Culotta via 4D_Tech
Try changing the line "c_pointer($vPoint->)" to "c_pointer($vPoint)", and make sure $X is set to "1" or "2". Keith - CDI > On May 10, 2017, at 4:39 PM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi All, > > I use 4D V13 on windows. > This code in interpreted work, but in co

POINTER TO ARRAY

2017-05-10 Thread stardata.info via 4D_Tech
Hi All, I use 4D V13 on windows. This code in interpreted work, but in compiled application give an error: c_pointer($vPoint->) ARRAY STRING(12;$aCodMat_1;0) ARRAY STRING(12;$aCodMat_2;0) DISTINCT VALUES([TABLE]Cod;$aCodMat_1) DISTINCT VALUES([TABLE]Cod_1;$aCodMat_2) $vPoint:=Get pointer("$aC