Syntax
int PCMSNumRptLines(Trip trip, int rpt)
Parameters
int rpt – The report type.
Description
Gets the number of lines in a specified report.
Return Values
Returns the number of lines in a specified report.
Sample Code
/* Show detailed driving instruction for route */ /* Index lines from 0. Buffer must be > 100 char */ lines = PCMSNumRptLines(pracTrip, RPT_DETAIL); for (i=0; i < lines; i++) { PCMSGetRptLine(pracTrip, RPT_DETAIL, i, buf,100); printf ("%s\n", buf); }
Supported Since: PC*MILER Connect 12
Category: Trip Reports