Previous Next        Current Page: NeXtMidas Training / Option Trees / Command Dictionary / The Dictionary
back
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
Getting Started - Part 2   
Working with Files   
Option Trees   
   + Overview   
   + Using an Option Tree   
   + Lab 1   
   + Creating an Option Tree   
   - Command Dictionary   
      - The Dictionary   
      - Dictionary Entries   
      - Using UPDATE   
   + Building an Option Tree   
   + Lab 2   
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   


  • The Dictionary:
    • Every option tree must include a commands.cnf file in its cfg subdirectory.
      • This file is called the "Command Dictionary."
      • This file is read into memory when the option tree is added to the path.
    • NeXtMidas uses "reflection" to call primitives/intrinsics at runtime.
      • This allows option trees to be used while the SYS option tree remains completely independent of the other option trees.
      • NeXtMidas uses information in the command dictionary to figure out how to instantiate a primitive/intrinsic.
X-Midas Users Take Note:
The command dictionary in NeXtMidas is named commands.cnf while X-Midas uses commands.cfg. This allows an option tree to contain a mix of NeXtMidas and X-Midas commands. It is important to note that the internal structure of the command dictionaries differ between X-Midas and NeXtMidas.

back