Return type:
Applies to:
SET-PARAMETER ( parameter-number , data-type , iomode , parameter-value )When invoking a Windows DLL or UNIX shared library function, ABL DLL data types are valid as data-type values. data-type specifies the type expected by the DLL or shared library routine parameter. For example, the parameter data-type is set to "LONG" if the DLL routine parameter expects "LONG". For a list of valid ABL DLL data types, see the “DEFINE PARAMETER statement” section.For TABLE-HANDLE output parameters whose output is to be appended to the table, and in no other case, specify "OUTPUT-APPEND".If data-type is "DATASET-HANDLE" or "TABLE-HANDLE", you can append "-by-reference" to any previously listed iomode.An expression whose type is compatible with data-type.The parameter-value argument may represent a determinate or indeterminate array. However, you cannot pass an array by value. You can pass an array only as a variable defined using the DEFINE VARIABLE statement with the EXTENT option. If you include the EXTENT keyword in the data-type argument, the AVM ignores it. If you include the array element values in the parameter-value argument, ABL generates a compile error.If iomode is "INPUT" or "INPUT-OUTPUT", if the data type of parameter-value does not agree with the data type passed, parameter-value will automatically be converted to the data type passed during SET-PARAMETER( ) processing.
parameter-value must represent a program variable or a NO-UNDO TEMP-TABLE field (perhaps with an array reference).
parameter-value must still be in scope and must still be valid when the dynamic invoke is executed.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |