Previous Next        Current Page: NeXtMidas Training / Getting Started - Part 2 / Advanced Results Parameters / Tables / Accessing
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   


  • Accessing a Table
    • To see a table, simply use the GET or RES command.
      nM> get table1
        T: TABLE1          = Table of 3 entries
        L:  ONE            = 1
        L:  TWO            = 2
        L:  THREE          = 3
      nM> res table2
        T: TABLE2          = Table of 3 entries
        L:  FOUR           = 4
        L:  FIVE           = 5
        L:  SIX            = 6
    • To access an element of a table use the dot syntax.
      nM> get table1.one
        L: TABLE1.ONE      = 1

back