From RAD Studio API Documentation
Jump to: navigation, search


Variant&          GetParm(const Byte idx);


Type Visibility Source Unit Parent
function public sysvari.h System AutoCmd


Returns the value of a positional parameter.

Call GetParm to determine the value of a positional parameter that was assigned using the << operator. The value is returned as a Variant object. Its underlying type can be obtained using the GetArgType method.

The idx parameter is the index of the value in the AutoCmd object’s parameter list, where 0 is the index of the first argument. Use the GetArgCount method to obtain an upper limit of possible values.

See Also