Current Page:
NeXtMidas Training
Getting Started - Part 2
Advanced Results Parameters
Tables
Advanced
|
|
- Tables
- Tables can hold nested tables. GET and RESULTS have a useful switch
for displaying nested tables,
/ALL .
nM> set people {TOM={AGE=37,WEIGHT=189},SUE={AGE=32,WEIGHT=135}}
nM> get people
T: PEOPLE = Table of 2 entries
T: TOM = Table of 2 entries
T: SUE = Table of 2 entries
nM> get/all people
T: PEOPLE = Table of 2 entries
T: TOM = Table of 2 entries
L: AGE = 37
L: WEIGHT = 189
T: SUE = Table of 2 entries
L: AGE = 32
L: WEIGHT = 135
nM> get people.tom
T: PEOPLE.TOM = Table of 2 entries
L: AGE = 37
L: WEIGHT = 189
nM> get people.tom.age
L: PEOPLE.TOM.AGE = 37
|
Click image for larger view.
|
- Tables can be merged by putting both tables together on a single line.
nM> set merged {A=1,B=2,C=3}{D=4,E=5,A=999}
When tables are merged, any "duplicate tags" are assigned the value that appears
last. In the above example, A would be 999 .
- There is also a
TABLE command that provides
many additional features.
|
|
|