On Thu, 16 Aug 2018 11:26:40 +0200, Arnaud de Montard via 4D_Tech wrote:
>
> Second syntax of MULTI SORT ARRAY does not work?
Arnaud,
I did not know about this command (or had forgotten about it), but
reading through the documentation:
MULTI SORT ARRAY ( ptrArrayName ; sortArrayName )
<snip>
Note: ptrArrayName can be an array of local ($ptrArrayName), process
(ptrArrayName) or inter-process (<>ptrArrayName) pointers. Conversely,
the elements of this array must point to ** process or inter-process
arrays only **.
** - emphasis is mine
--I have not had a chance to test compiled, but --interpretedly-- the
below (in a component) works where the pointer array elements point to
local arrays.
Execute formula("Sort
Array(($Handle->{1})->;($Handle->{2})->;($Handle->{3})->;>)")
Chip
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************