Sign in Join
FPDoc Onlineexperiment

TParams.CreateParam function

Member of TParamspublicIn unit DB

Create and add a new parameter to the collection.

Declaration

pascal
function CreateParam(FldType: TFieldType; const ParamName: string; 
 ParamType: TParamType): TParam

Arguments

FldType

Value for the DataType property of the new instance.

ParamName

Value for the Name property of the new instance.

ParamType

Value for the ParamType property of the new instance.

Function result

Newly added TParam instance.

Description

CreateParam creates a new TParam instance with datatype equal to fldType, Name equal to ParamName and sets its ParamType property to ParamType. The parameter is then added to the collection.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.