General syntax for add parameter methods
The general syntax of these methods is as follows:
Syntax
public void addProgressType (int position , DataType value , int mode ,
[ int extentValue | MetaType metaData ] )
throws Open4GLException
ProgressType
Indicates the ABL data type of the parameter, such as Decimal in addDecimal() , for adding a parameter of data type DECIMAL .
position
Specifies a 0-based index indicating the parameter position.
DataType
Specifies the Java data type of the parameter, for example, java.math.BigDecimal or java.math.BigDecimal[] .
value
Specifies a variable that contains the value of the parameter, or null for an OUTPUT parameter.
mode
Specifies the ABL mode (passing direction) of the parameter. This can be one of the following constant values:
ParamArrayMode.INPUT
ParamArrayMode.INPUT_OUTPUT
ParamArrayMode.OUTPUT
extentValue
Specifies the extent of an array for methods that add an array parameter (where ProgressType is appended with Array , as in AddDecimalArray() ).
MetaType
Specifies one of the following classes for methods that add a temp-table or ProDataSet parameter:
metaData
Specifies an instance of MetaType . When mode is ParamArrayMode.OUTPUT and ProgressType is DatasetHandle or TableHandle (passing a dynamic ProDataSet or temp-table parameter), you can set this parameter to null .