### X-Midas to NeXtMidas Function Mapping

This maps common X-Midas host primitive functions to their NeXtMidas analogues.

      X-Midas Host Primitive        NeXtMidas Primitive

      Memory Management
        M$STMALLOC             --+
        M$STMFREE                |
        M$MALLOC                 |
        M$FREE                   |  Not Used - Java manages
        M$MFREE                  |             all memory!
        M$REMALLOC               |
        M$FREEALL              --+

      System Operations
        M$CHKIN                --+  NeXtMidas separates primitive
        M$CHECKIN                |  into open(..), process(..) and
        M$SYNC                 --+  close(..) stages.
        M$RETURN
        M$TODO
        M$DO
        M$DIDNT
        M$INFO                      M.info(..)
        M$WARNING                   M.warning(..)
        M$ERROR                     M.error(..)

      Arguments Operations
        M$<type>PICK                MA.get<type>(..)
        M$GET_<type>SWITCH          MA.get<type>(..)
        M$GET_<type>SWITCH_DEF      MA.get<type>(..)

      Control Widgets
        M$<type>WINIT
        M$<type>WGET
        M$<type>WPUT

      Results Methods
        M$GET_RESULT                MR.get<type>(..)
        M$PUT_RESULT                MR.put<type>(..)
        M$RFIND
        M$<type>RSLT
        M$RDEL

      Basic File I/O
        M$INITIALIZE                DataFile.init(..)
        M$INIT                      DataFile.init(..)
        M$PROPOGATE
        M$OPEN                      DataFile.open(..)
        M$INOK
        M$INOKW
        M$ALLOCATE
        M$EXISTENCE
        M$FORCE1000
        M$HCBFUNC
        M$GRAB
        M$GRABX
        M$SHOVE
        M$SHOVEX
        M$FILAD
        M$UPDATE_HEADER             DataFile.update()
        M$CLOSE                     DataFile.close(..)
        M$XFER_LENGTH               DataFile.setXferLength(..)

      Messaging