1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-12 09:44:24 +02:00

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

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.