HP 3000 Manuals

CHAIN Statement (Interpreted) [ HP Business BASIC/XL Migration Guide ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Migration Guide

CHAIN Statement (Interpreted) 

The migration aid automatically changes CHAIN statements to GET
statements.  Interpreted GET statements replace the current program with
the program specified in the GET statement.  Execution can resume at any
line.  However, the GET statement is not compilable.

The CHAIN statement is automatically changed as indicated in Table 13-2:

          Table 13-2.  CHAIN Changes 

---------------------------------------------------------------------------------------------
|                                             |                                             |
|                   BASIC/V                   |            HP Business BASIC/XL             |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| CHAIN (file name str expr)                  | GET (file name str expr)                    |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| [,(line num int expr)]                      | [,(line num int expr)]                      |
|                                             |                                             |
---------------------------------------------------------------------------------------------

If you need to replace one program with another in both interpreted and
compiled programs, see chapter 10, "Evaluating Changes You Need to Make".

Type HELP CHAIN from the migration aid prompt for more details and
migration alternatives.



MPE/iX 5.0 Documentation