Merge pull request #3472 from Firestorm2k7/patch-3

[M (MUMPS)/en] One-liner
This commit is contained in:
Divay Prakash 2019-02-16 20:03:15 +05:30 committed by GitHub
commit 47e2268a2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ w !,^cars
w !,^cars("Tesla")
; null value - there's no value assigned to this node but it has children
w !,^cars("Tesla",1,"Name")
; Model X
; Model 3
```
Arrays are automatically sorted in order. Take advantage of the built-in sorting by setting your value of interest as the last child subscript of an array rather than its value.