 |
» |
|
|
 |
 |
 |
|
 |
 |
- New Statements—The new SELECT and SELECTONE statements are similar to the CASE statement but allow for run-time expressions on the select labels unlike CASE which restricts
the program to compile-time expressions.
- Extended binary operators—The IN and NOT IN binary operators have been extended to accept string operands. For strings, IN and NOT IN function the same as the
INDEX(string,substring) function.
- Extended predeclared function—The SUBSTR predeclared function has been extended to allow the third operand to be omitted. When omitted, the SUBSTR function returns the
string from the specified start index to the "end of the string".
- New %FLOAT DIRECTIVE—A new %FLOAT directive has been added to return the default floating-point setting. This new directive is useful along with the %IF conditional
compilation facility when porting code from OpenVMS Alpha to OpenVMS I64.
- Other new directives—Several new directives have been added to define floating constants of specific formats regardless of the default floating-point setting of the
compilation. These directives are %F_FLOAT, %D_FLOAT, %G_FLOAT, %S_FLOAT, and %T_FLOAT.
- More predeclared functions—The BIN, OCT, HEX, DEC, and UDEC predeclared functions can now be used in constant expressions. Besides the obvious use in a CONST declaration,
this new feature provides a method for writing numeric constants with the %MESSAGE, %INFO, %WARN, and %ERROR directives.
- Updated qualifier—A new BYTE_ALIGNED_POINTERS has been added to the /ASSUME DCL qualifier. This new option tells the compiler to assume that pointers refer to unaligned
memory instead of the default assumption that pointers refer to quadword aligned memory returned via the NEW predeclared function.
|
 |
|