prn()

Purpose

General printing in field

Syntax

void prn(mapnr, fieldnr, data, dtype, size, flags);

Parameters

int mapnr

Number of map containing field

 

int fieldnr

Number of field in which to print

 

ANY* data

Pointer to data containing data to print

 

int dtype

Data type of data to print

 

int size

Internal size of data to print

 

int flags

Parameter specifying format of output

 

The parameter flags may take the same values as the corresponding parameter to the function show()

Description

The prn() function is a general purpose function from which the prn_x() functions are constructed. It works in the same way as the show() function.

The map must have previously been appended to the printer stream with a call to one of the functions form(), form_over() or form_beside().

See also

show(), prn_x(), form(), form_over(), form_beside()

Example

prn(2,6,&orderline.quantity,'I',2,DEFAULT);