|
Purpose |
General printing of field functions. (These functions are regarded as obsolete; use the prn_x() functions in place of them.) | |
|
Syntax |
void prnc(mapnr, fieldnr, data, flags) | |
|
Parameters |
int mapnr |
Number of map in which to print |
|
|
int fieldnr |
Number of field in which to print |
|
|
<type> data |
Variable or pointer to variable holding data to be printed |
|
|
int flags |
Parameter specifying print format |
|
|
The <type> of the parameter data depends on which of the prnx() functions is being used, as shown below. Also shown is the corresponding DP4 datatype for each of the prnx() functions: | |
| Function | Type | DP4 datatype |
|---|---|---|
|
prnc |
char * |
C,M,S,U |
|
prnd |
datetype * |
D |
|
prnh |
short |
I,J,K |
|
prnl |
long |
L |
|
prnn |
double |
N |
|
prnt |
timetype * |
T |
|
prny |
BOOLEAN |
Y |
|
|
The parameter flags may take the same values as described for the function show() | ||
|
Description |
These functions display the data in the specified field of the given form. In character data, the number of characters displayed is whichever is the least of the map field width and the database field width, assuming the map field has been verified against the database. | ||
|
See also |
|||
|
Example |
| ||