DEFINE VARIABLE bitmapinfo       AS MEMPTR NO-UNDO. 
            DEFINE VARIABLE bitmapinfoheader AS MEMPTR NO-UNDO. 
            DEFINE VARIABLE RGBcolors        AS MEMPTR NO-UNDO. 
              
            SET-SIZE(bitmapinfo)       = 4  /* Pointer to bitmapinfoheader */ 
                                       + 4. /* Pointer to RGBcolors        */ 
              
            SET-SIZE(bitmapinfoheader) = 4  /* biSize          */ 
                                       + 4  /* biWidth         */ 
                                       + 4  /* biHeight        */ 
                                       + 2  /* biPlanes        */ 
                                       + 2  /* biBitCount      */ 
                                       + 4  /* biCompression   */ 
                                       + 4  /* biSizeImage     */ 
                                       + 4  /* biXpelsPerMeter */ 
                                       + 4  /* biYPelsPerMeter */ 
                                       + 4  /* biClrUsed       */ 
                                       + 4. /* biClrImportant  */ 
              
            SET-SIZE(RGBcolors)        = 16 * 4. /* Array for 16 RGB color values */ 
              
            /* Initialize pointers to bit map info header and RGB color array */ 
            PUT-LONG(bitmapinfo,1) = GET-POINTER-VALUE(bitmapinfoheader). 
            PUT-LONG(bitmapinfo,5) = GET-POINTER-VALUE(RGBcolors). 
           |