Previous Next        Current Page: NeXtMidas Training / Getting Started - Part 2 / Advanced Results Parameters / Tables / Modifying
back
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
Getting Started - Part 2   
   - Advanced Results Parameters   
      - Tables   
         - Creating   
         - Accessing   
         - Modifying   
         - Advanced   
      - In-Line Functions   
      - Objects   
         - The Invoke and New Commands   
      - Using Carets   
      - Using Flag Strings   
      - Automatic Type Conversion   
      - Type Casting   
   + Lab 3   
   + Threads in NeXtMidas   
   + Lab 4   
Working with Files   
Option Trees   
Macros - Part 1 (Basics)   
Macros - Part 2 (Graphics)   
NetBeans - Part 1 (Setup)   
NetBeans - Part 2 (GUIs)   
NetBeans - Part 3 (Profiler)   
Eclipse - Part 1 (Setup)   
Eclipse - Part 2 (GUIs)   
Primitives   
WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • Modifying a Table
    • A table must be created before it can be modified.
    • To modify an element of a table use the dot syntax. The element need not exist before being set.
      nM> get table1
        T: TABLE1          = Table of 3 entries
        L:  ONE            = 1
        L:  TWO            = 2
        L:  THREE          = 3
      nM> set table1.ten 10
      nM> get table1
        T: TABLE1          = Table of 4 entries
        L:  ONE            = 1
        L:  TWO            = 2
        L:  THREE          = 3
        L:  TEN            = 10
                    

back