Previous Next         Current Page: NeXtMidas Training / Macros - Part 1 (Basics) / Lab 1 / Solution
Start Here   
Background   
Common Midas Concepts   
Getting Started   
Working with Files   
Option Trees   
Macros - Part 1 (Basics)   
   + Macro Basics   
   - Lab 1   
      - Instructions   
      - Solution   
   + Lab 2   
   + Loops and Control Structures   
   + Lab 3   
   + Lab 4*   
   + Procedures and Subroutines   
   + Lab 5   
   + Lab 6*   
   + Pipes in a Macro   
   + Lab 7   
   + Lab 8   
   + Messages in a Macro   
   + Lab 9   
   + Lab 10   
Macros - Part 2 (Graphics)   
Primitives   
Installing NeXtMidas   
Applets & WebStart   
Mapping (NeXtEarth)   
Remote Midas InterFace (RMIF)   
Using NetBeans   
X-Midas Interoperability   
Remoting an X-Midas App.   


  • Lab 1 (solution):
    • Here is what you should have done:
      ! Name: George P. Burdell
      startmacro s:name l:feet l:inches
        calc l:height feet 12 * inches + 0.3937 /
        
        info "^name is ^{height}cm tall"
      endmacro