Previous Next        Current Page: NeXtMidas Training / Getting Started - Part 1 / Results Parameters / What are they?
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   


  • What are result parameters?
    • Results parameters are the variables accessible within the shell.
    • Results parameters are labeled values that are accessible within the shell and macro.
    • As the name suggests, results parameters are often the outcome of some calculation that NeXtMidas performs.
    • Each result parameter has a name and a value. The name is always a string and the value can be a string, number, table, array, or any other Java object.
  • Valid Results Names:
    • Results names start with a letter (A-Z) or an underscore (_) and contain letters (A-Z), numbers (0-9) and the underscore (_).
      • Older versions of NeXtMidas were not strict in checking this so a few older applications can be found that don't follow this rule.
    • By convention, results names are not case sensitive when used in the shell or in a Macro. (This is the same as X-Midas.)
    • NeXtMidas allows the user to enter results names that contain lower-case letters (a-z) and will automatically convert them to upper-case (A-Z).
    • Thus, the following three statements are considered equivalent:
      nM> SET COOLNESS 100
      nM> SET coolness 100
      nM> SET Coolness 100
      
X-Midas Users Take Note:
Like X-Midas, NeXtMidas allows you to force names to be lower-case in order to "hide" them. However, this practice is severely discouraged. Just don't do it!