RouteVia
Previous  Top  Next

Function RouteVia(Node1, Node2, Nodenum: integer): integer;

RouteVia calculates the cheapest path from node1 to node2 via one of the nodes entered into the standard nodelist.

Nodenum holds the number of nodes in the list.

The function makes sure that the result is returned in the fastest possible way for the loaded network. If oneway streets are used, it can not be avoided that the calculations may take some time.

Returns the id of the node in the nodelist.

Possible error codes: -10 -30 -43
Versions: Standard Pro
ActiveX / VCL / CLX component: RWcalc