Current Page:
NeXtMidas Training
Macros - Part 2 (Graphics)
Plotting and Listing
Listing
|
|
- Listing:
- While a
LIST2 is up, it is possible to add/remove/update rows from
the list.
LIST2 uses tables to add/remove/update the data for a row.
- A special feature of the files implementing
ListFile (which
LIST2 uses) is that their add/set/update row methods are
designed to work with "mis-match" tables following these rules:
- Where a key in the table matches a column in the file,
LIST2
will use that value (in cases where the file specifies an internal format
the value will be converted to that format).
(Automatic type conversion!)
- Any keys not matching a column name are ignored.
(Extra values are ignored!)
- Any columns for which there is not a matching key get default values.
(Missing values get the default!)
- While an instance of
LIST2 is up and running, its template can be altered in one of two ways:
- SET - Setting a new template discards the old template and uses a new
one.
- UPDATE - Updating a template modifies the template currently in use by
adding/changing some of the entries.
- See the API for
nxm.sys.libg.MJList for more details.
- See the
%test_list2 macro in the test area of SYS for
examples.
|
|
|