Hi all, 
I have the following piece of code code in a v14R5 DB:

$type:=OB get type($obj;"attrib")
case of
  :($type=is object)  //38
  :($type=is array object) //39
else
  unexpected  //error
end case

It reads a home made json that defines a home made listbox description. 

When upgrading to v16R5, the code goes to unexpected because $type returns Is 
collection (42). Easy to deal with, but is it normal that 4D makes no 
difference between a collection and a "true" object array?

-- 
Arnaud de Montard 



**********************************************************************
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