Re: v13 - Warning Compiler misses syntax error

2017-05-25 Thread Chip Scheide via 4D_Tech
then should not the syntax be: ($To_Validate->)-> dereference the handle, then dereference the pointer On Thu, 25 May 2017 11:21:21 +0200, Bernd Fröhlich via 4D_Tech wrote: > Chip Scheide: > >> I accidentally typed the following line of code: >> $0:=(Type($To_Validate->->)=Is Pointer) >> >> Noti

Re: v13 - Warning Compiler misses syntax error

2017-05-25 Thread Bernd Fröhlich via 4D_Tech
Chip Scheide: > I accidentally typed the following line of code: > $0:=(Type($To_Validate->->)=Is Pointer) > > Notice anything wrong? > At least the compiler did not... > > Error is : > ->-> That is not an error. $To_Validate could be a pointer to a pointer, so from the compiler´s viewpoint al

Re: v13 - Warning Compiler misses syntax error

2017-05-24 Thread Arnaud de Montard via 4D_Tech
> Le 24 mai 2017 à 22:14, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > seems like a bug to me > :) v17 feature. non-disclosure agreement. -- Arnaud de Montard ** 4D Internet Users Group (4D iNUG) FAQ:

Re: v13 - Warning Compiler misses syntax error

2017-05-24 Thread Chip Scheide via 4D_Tech
seems like a bug to me :) On Wed, 24 May 2017 14:16:32 -0500, Keith Culotta via 4D_Tech wrote: > In v16 interpreted > > C_TEXT($t) > C_POINTER($p1;$p2) > > $t:="A" > $p1:=(->$t) > $p2:=(->$p1) > > ALERT($p2->->) // Error > ALERT(($p2->)->) // A > ALERT(String(Type($p2->->))) // 2 > ALERT(Strin

Re: v13 - Warning Compiler misses syntax error

2017-05-24 Thread Keith Culotta via 4D_Tech
In v16 interpreted C_TEXT($t) C_POINTER($p1;$p2) $t:="A" $p1:=(->$t) $p2:=(->$p1) ALERT($p2->->) // Error ALERT(($p2->)->) // A ALERT(String(Type($p2->->))) // 2 ALERT(String(Type(($p2->)->))) // 2 Type and Alert have different tolerances? Keith - CDI > On May 24, 2017, at 1:50 PM, Chip Sche

v13 - Warning Compiler misses syntax error

2017-05-24 Thread Chip Scheide via 4D_Tech
I accidentally typed the following line of code: $0:=(Type($To_Validate->->)=Is Pointer) Notice anything wrong? At least the compiler did not... Error is : ->-> I haven't checked newer versions Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing **