XTEXT Parameters

Parameters that supply data to the routine are indicated with [in], and those used to get data from the routine are labeled [out].

Parameter

Type

I/O

Description

opcode

Num

in

Specifies the operating mode.

flags

B,4

in

Used to enable exit keys and other options.

src

String

in

Source of text to be edited.

dst

String

out

Destination for updated text.

srow, scol, erow, ecol

String

in

Position of the control, based on the grid system used by the parent control.

exitcode

F,6

out

Returns a code indicating how the list was exited.

txtctltxtctl

in/out

(Mapped structure) A collection of extended parameters and options.

auxdata

String

in/out

If a text string is supplied in the AUXDATA parameter, it will be used for the title of any dialog box displayed under XTEXT's direct control. If AUXDATA is not specified, or null, then XTEXT continues to use the SYS:APPMSG.xxx 000,001 message string, which is normally reserved for the application name.

fmtdef

String

in

Specify target printer.