Current Page: NeXtMidas Training Getting Started - Part 2 Advanced Results Parameters Tables
- - | Tables Tables are one of the most useful types of results available to users of the NeXtMidas shell and macro language. A table is a collection of values each with a unique tag (or name). When defined on the command line or in a macro, a table is specified in the following format:
        nM> set mytable {TAG1=VAL1,TAG2=VAL2,...,TAGn=VALn}
A table is defined within a pair of braces (`{...}`) and each element of the table is specified by a `TAG=VALUE` syntax with a comma (`,`) separating subsequent elements. All tags in a table must be one or more characters in length and may contain only numbers, upper-case letters and the underscore. This differs from valid results names in that the tag can start with a number. Older versions of NeXtMidas allowed names to contain a dash (`-`), this behavior is deprecated since it makes it hard to tell a table entry from a subtraction.
X-Midas Users Take Note:
Stable X-Midas releases before 4.6.0 do not support tables. Support for tables is added in X-Midas 4.6.0 and is called `XMVALUE`. X-Midas tables are syntactically very similar to NeXtMidas tables. Check the documentation for differences.