Syntax 

long PCMSNumRptBytes(Trip trip, int rpt)

 

Parameters 

Trip trip – Handle to a trip.

int rpt – The report type.


Description

Gets the number of bytes contained in a specified report.


Return Values 

Returns the number of bytes in a specified report.


Sample Code 

/* Get state by state mileage breakdown report*/
length = PCMSNumRptBytes(pracTrip, RPT_STATE);
PCMSGetRpt(pracTrip, RPT_STATE, buf, 20000);
printf(“The entire state report:\n%s\n”, buf);


Supported Since: PC*MILER Connect 12

Category: Trip Reports