HP 3000 Manuals

Built-In Functions [ HP Business BASIC/XL Migration Guide ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Migration Guide

Built-In Functions 

Table 13-6 lists BASIC/V built-in functions that are automatically
translated into Business BASIC/XL.

          Table 13-6.  Automatically Translated Built-in Functions 

---------------------------------------------------------------------------------------------
|                                             |                                             |
|                   BASIC/V                   |            HP Business BASIC/XL             |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| BUF(num expr)                               | BUFTYP                                      |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| CEI(num expr)                               | CEIL(num expr)                              |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| CPU(num expr)                               | CPU                                         |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| DAT$(num expr1, num expr2)                  | DAT3000$(num expr1, num expr2)              |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| DEB$(str expr)                              | TRIM$(str expr)                             |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| PIX(num expr)                               | PI*(num expr)                               |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| TIM(num expr)                               | TIME(num expr)                              |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| UPS$(str expr)                              | UPC$(str expr2)                             |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| WRD(str expr1, str expr2)                   | WORD(str expr1, str expr2)                  |
|                                             |                                             |
---------------------------------------------------------------------------------------------

Semi-Automatically Translated Built-In Functions 

HP Business BASIC/XL does not support CSH, SNH, TNH, or RND. The
migration aid automatically changes calls to CSH, SNH, and TNH so you can
use them by adding an equation to your program.  This is the only manual
change required for these three functions.

For more information about making these manual changes, see "Replacing
Removed Features" in chapter 10, "Evaluating Changes You Need to Make".



MPE/iX 5.0 Documentation