Previous Next        Current Page: NeXtMidas Training / Option Trees / Using an Option Tree / The Path / Using OPTION
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   
      - The Path   
         - Using PATH   
         - Using OPTION   
      - Linking to Option Trees   
      - Navigating Using NMD   
      - Using HOMEPATH   
   + Lab 1   
   + Creating an Option Tree   
   + Command Dictionary   
   + 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 OPTION command:
    • The OPTION command can be used to specify the location of an option tree or create an option tree (see the OPTION command explain file).
    • The OPTION command can be used to list the location of a defined option tree.
      nM> opt map
        MAP          = /home/student/projects/nxm/map/
    • The OPTION command can be used to list all available option trees.
      nM> opt
      Available Option Trees (<n> = index on path):
             AUDIO    = /home/student/nxm300/nxm/audio/
             DATABASE = /home/student/nxm300/nxm/database/
         <2> DSP      = /home/student/nxm300/nxm/dsp/
         <3> HWC      = /home/student/nxm300/nxm/hwc/
             ICE      = /home/student/nxm300/nxm/ice/ -> /xmopts/ice318/ <UnusedBackLink>
             MYOPT    = /home/student/nxm300/nxm/myopt/ -> /home/student/myopt123/
             NMPOST   = /home/student/nxm300/nxm/nmpost/
             SERVLET  = /home/student/nxm300/nxm/servlet/
         <4> SYS      = /home/student/nxm300/nxm/sys/
         <1> UCL      = /home/student/nxm300/nxm/ucl/
             XBC      = /home/student/nxm300/nxm/xbc/
      Any option trees located under $NMROOT/nxm (or linked to from there) are picked up automatically (in the above example these are highlighted in red). Any other option trees need to be specified using OPTION.
    • The OPTION command can be used define (declare) an option tree.
      nM> option train /home/student/nmopts/nxm/train/
        TRAIN          = /home/student/nmopts/nxm/train/

back