CalculateTime

Top  Previous  Next

This will calculate time on all links, by looking up the speed in the RCS array, based upon the road class attribute:

 

Time(*,index) = Length(*) / RCS(attribute(*)) * 60

 

Call CreateArrayTime in advance to allocate the index.

 

See also TCalc.MaxSpeed.

 

Syntax: CalculateTime(index: integer; RCS: TRoadClassSpeed)