PN5_50464


Patch Number

Ticket Number

Change type

5_50464

692979

Enhancement

1. Description

Implement u017e user exit, which allows output of any character string to the terminal or spooler.

It is functionally equivalent to:

PRINT my_string:

but is called via OCONV to allow the program to create control strings without having line-ending characters (CR/LF) added to output, e.g.

var = OCONV(str, "u017e")

Output a character 0xFF to the spooler:

    PRINTER ON
    x = OCONV(CHAR(255), "u017e")

Output the string xyz to the terminal:

    x = oconv("xyz", "u017e")

Note that the variable x is never assigned a value and, if used, will abort to the debugger with Invalid or uninitialised variable -- ZERO USED.

This user-exit was implemented for compatibility with D3.