RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AutoCmd::GetParm Method

Returns the value of a positional parameter.

Pascal
function GetParm(const idx: Byte): Variant&;
C++
Variant& GetParm(const Byte idx);

Call System::AutoCmd::GetParm to determine the value of 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 System::AutoCmd::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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!