mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 06:47:54 +02:00
[M (MUMPS)/en] One-liner
^cars("Tesla",1,"Name") was defined in line 119 s ^cars("Tesla",1,"Name")="Model 3"
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user