mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-22 23:01:41 +03: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:
parent
f3c25c4501
commit
11033094d8
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user