Current Page:
NeXtMidas Training
Getting Started - Part 2
Advanced Results Parameters
Tables
Creating
|
|
- Creating a Table
- Tables can be created using the
SET or RES or
TABLE command.
nM> set table1 {ONE=1,TWO=2,THREE=3}
nM> res table2 {FOUR=4,FIVE=5,SIX=6}
- An empty table can be created that will be filled in later.
nM> set table3 {}
- A table must be created before it can be modified. (This is important
later.)
Don't Make This Mistake: |
No results translation is done on a new table unless a results name was created.
Therefore:
res t:table {FOO=TEN}
will set FOO to the string "ten" even if there was a result
named TEN . If you want to force results translation, use a caret:
res t:table {FOO=^TEN}
|
|
|
|