RPC HELP Mult Position
From VistApedia
Position Method
Applies to
TMult Class
Declaration
function Position(const Subscript: string): longint;
Description
The Position method takes the string subscript of an item in a TMult variable and returns its numeric index position much like a TStringList’s IndexOf method. Because TMult uses a TStringList internally, the IndexOf method is used to implement the Position method. The first position in the TMult is 0. If TMult is empty, or the Subscript does not identify an existing item, Position returns -1.
The Position and Subscript methods are the reciprocals of each other.
NOTE: See RPC Limits for information about the size of parameters and results that can be passed to and returned from the TMult class.