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 Scheide via 4D_Tech <[email protected]> 
> wrote:
> 
> 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 
> **********************************************************************
> 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:[email protected]
> **********************************************************************

**********************************************************************
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:[email protected]
**********************************************************************

Reply via email to