Previous Next        Current Page: NeXtMidas Training / Common Midas Concepts / Data Types / Data Formats / Types
back
Start Here   
Background   
Common Midas Concepts   
   + Version Numbering   
   + Basic Features   
   - Data Types   
      - Data Formats   
         - Types   
         - Modes   
         - Elements   
      - Compound Types   
      - Lab 1 - Data Types   
         - Exercises   
   + Blue Files   
   + Lab 1   
Getting Started - Part 1   
Getting Started - Part 2   
Working with Files   
Option Trees   
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   


  • Basic Types
    Scalar Format Data Type Scalar Size
    Packed Bits P 1 bit
    Nibble Packed Bits N 4 bits
    Offset Byte (Not Supported) O 1 byte
    Signed Byte B 1 byte
    Signed (Short) Integer I 2 bytes
    Signed Long Integer L 4 bytes
    Signed Extra-Long Integer X 8 bytes
    Single-Precision Floating Point F 4 bytes
    Double-Precision Floating Point D 8 bytes
    ASCII String (8 Characters) A 8 bytes
Java Experts Take Note:
Duke The naming convention for the integer types differs from Java. This is for historical reasons, to keep the terminology the same across all Midas frameworks. (The names originated on VMS which used a 16-bit integer type.)

X-Midas Users Take Note:
Caveman Older versions of X-Midas do not support the Extra-Long Integer (X) type. Support for the Extra-Long Integer (X) type in NeXtMidas and Martes predated X-Midas. Also note that inside a macro, NeXtMidas uses S: (String) rather then A: (ASCII). In other words, the NeXtMidas macro uses Java strings (variable length Unicode strings) rather than fixed-length ASCII strings.

back