Current Page:
NeXtMidas Training
Macros - Part 1 (Basics)
Lab 2
Solution
|
- Start Here
+ Background
+ Common Midas Concepts
+ Getting Started
+ Working with Files
+ Option Trees
- Macros - Part 1 (Basics)
+ Macro Basics
+ Lab 1
- Lab 2
- Instructions
- Solution
+ 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 2 (solution):
- For this lab you should have made an option tree called
TRAIN (see the module on Option Trees for details),
and added it to your path.
nM> path add train
- Then you should have copied your macro to the
mcr
directory of the option tree.
- Once the option tree was setup and
mcrlab1.mm was
copied to it, you should have added the command to the
dictionary using UPDATE .
nM> update mcrlab1
Option tree (USER, SITE, UCL, etc): [] -> train
MYCOMMAND Abbreviation: [MCRLAB1] ->
Support [M] -> M
Number of arguments [0] -> 3
Default 1 [] -> NAME=
Default 2 [] -> FEET=
Default 3 [] -> INCHES=
nM>
|