As a follow up, I thought I would try to remove the null’s from the collection use collection.query(), but I don’t know what to use for the query string since there are no named object properties in the collection.
$cTest:=New collection(100;200;Null;80) $lMin:=$cTest.query("#null").min() //<—What should the query string be? Or should I be using a different function? Anyone know what I should be doing here? Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 <can...@synergyfarmsolutions.com> <www.synergyfarmsolutions.com> > On Jul 26, 2018, at 1:59 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I was surprised that the following code tries to return null instead of 80: > > $cTest:=New collection(100;200;Null;80) > $lMin:=$cTest.min() > ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************