prn_length()

Purpose

Obtains the length of a print field

Old name

#define _prn_length prn_length

Syntax

int prn_length(mapnr, fieldnr);

Parameters

int mapnr

Number of map containing the field

 

int fieldnr

Field number in map

Description

The function prn_length() gets the field length of the requested field in a map which has been sent to the printer with the function form().

This function may be used even if a new mapset has in the meantime been loaded with the function map_load().

Return values

Returns the length of the field

See also

field_map_length()