Skip to main content

PCMSDeleteStop

Syntax

int PCMSDeleteStop(Trip trip, int index)

Parameters

Trip trip – Handle to a trip.

int index – The stop index starting at 0.

Description

Deletes a specified stop from the current trip.

Return Values

Standard returns

Sample Code

PCMSAddStop(trip, "08540");
PCMSAddStop(trip, "90210");
PCMSAddStop(trip, "12345");
PCMSAddStop(trip, "08518");
PCMSDeleteStop(trip, 1); // Deletes 90210

Supported Since: PC*Miler Connect 12

Category: Trip Management

Last updated July 8, 2025.