Previous Next        Current Page: NeXtMidas User's Guide / Basic Concepts / Option Trees / Option Tree Structure
back
- FAQs   
- Release Information   
- Getting Help   
- Basic Concepts   
   - Summary of Capabilities   
   + System Overview   
   + Shell   
   - Option Trees   
      - Option Tree Structure   
      - Command Dictionary   
      - Factory-Supported Option Trees   
   + Commands   
+ Result Parameters   
- JSON Support   
- XML Support   
+ Files   
+ System Operation   
+ Macros   
+ Java WebStart   
+ Graphics   
+ X-Midas Interoperability   
+ Third-Party Compatibility   
+ Build/Installation Options and Customization   
- Running NeXtMidas Independently   
- WebVNC to deploy NeXtMidas as a Web App   
+ Security and Secure Communication   
- Timelines - Keywords, Updating, Known Issues   
+ Installing and Using Docker   
+ Glossary   


Option Tree Structure

A typical option tree has the following basic structure:

  <opt>
    |
    +-- cfg
    |    +-- commands.cnf  The Command dictionary
    |    +-- optstart.mm   (OPTSTART) Macro that is executed when option tree is added to the path.
    |    |                 Since NeXtMidas 2.7.0, this allows for option trees to do configuration,
    |    |                 notification, etc. (OPTIONAL)
    |    +-- ...           Other configuration files (OPTIONAL)
    |
    +-- dat
    |    +-- ...           Data files (OPTIONAL)
    |
    +-- exp
    |    +-- ...           Explain files for every command
    |
    +-- hlp
    |    +-- ...           Help files that describing concepts (OPTIONAL)
    |
    +-- intr
    |    +-- ...           Intrinsic commands (OPTIONAL)
    |
    +-- lib
    |    +-- ...           Libraries (OPTIONAL)
    |
    +-- libg
    |    +-- ...           Graphical Libraries (OPTIONAL)
    |
    +-- mcr
    |    +-- ...           Macro commands
    |
    +-- net
    |    +-- ...           Networking Libraries (OPTIONAL)
    |
    +-- nxm
    |    +-- <opt> -> ../  Symbolic link for stand-alone option trees
    |                      on Unix (OPTIONAL, Unix only)
    |
    +-- prim
    |    +-- ...           Primitive commands
    |
    +-- test
    |    +-- ...           Test macros and JUnit tests
    |
    +-- version.txt        Version file
    +-- updates.txt        List of local updates

back