Previous Next        Current Page: NeXtMidas Training / Getting Started - Part 1 / Results Parameters / GET Command
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
   + NeXtMidas Shell   
   + Running NeXtMidas Commands   
   - Results Parameters   
      - What are they?   
      - SET Command   
      - GET Command   
      - RESULTS Command   
      - REMOVE Command   
   + Lab 1   
   + Getting Help   
   + Lab 2   
Getting Started - Part 2   
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   
Applets & WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • The GET Command:
    • The GET command can be used to display the value of a result.
    • It takes in one parameter LABEL=. The label is the name of the result.
    • Example:
      nM> get x
        L: X               = 10
      nM> get y
        L: Y               = 50
      nM> get str
       9S: STR             = My String
    • You can also get multiple results at once. To repeat the example above:
      nM> get x y str
        L: X               = 10
        L: Y               = 50
       9S: STR             = My String
    • You can also use wildcards using an asterisk at the end of the label to specify everything that begins with the given label.
      nM> set x2 20
      nM> set x3 30
      nM> get x*
        L: X               = 10
        L: X2              = 20
        L: X3              = 30
                  
X-Midas Users Take Note:
X-Midas does not have the GET command, it uses RESULTS in place of it.