HP 3000 Manuals

Source Program Migration [ HP Pascal/XL Migration Guide ] MPE/iX 5.0 Documentation


HP Pascal/XL Migration Guide

Chapter 2  Source Program Migration 

This chapter describes how to convert source programs written in Pascal/V
to run under MPE/XL. There are several paths that can be taken in this
process.  These are described below.

 *  In compatibility mode, Pascal/V object code can be restored directly
    to an MPE XL system.  This is appropriate for production applications
    that are typically run without source modifications.  Pascal/V
    program files are executable on the MPE XL systems in compatibility
    mode with the exception of some Privilege Mode programs.  However,
    running a program in compatibility mode does not take full advantage
    of the native mode speed of the MPE XL systems.

 *  In native mode, Pascal/V programs can be converted to HP Pascal/XL
    programs in three ways:

     *  If there are no Pascal/V data files, the program can be
        recompiled in HP Pascal/XL.

     *  If there are Pascal/V data files, the program can be recompiled
        using the HP3000_16 compiler option.

     *  Pascal/V data files can be converted using the HP3000_16 and
        HP3000_32 compiler options, the SetConvert and StrConvert
        predefined routines and hpFPCONVERT for floating point
        conversion.  (Refer to the Programmer's Skill Migration Guide for
        details on hpFPCONVERT.)


MPE/iX 5.0 Documentation