Page History
...
Valid param-types include:
Char far * | A 4 byte pointer to a character string in C or a simple character string in most other languages. |
|---|---|
Float far * | A 4 byte pointer to a floating point value in C or a floating point (decimal) number in most other languages. |
Int far * | A 4 byte pointer to an integer value in C or an integer in most other languages. |
Long far * | A 4 byte pointer to a long integer value in C or an integer in most other languages. |
Int | An integer. |
BOOL | A boolean variable (TRUE or FALSE). |
HWND | A string representing the Window Handle or identifier. |
Some examples of parameter1 and parameter2 you will see are:
strNumericString | To represent a character string containing numerics. |
|---|---|
strFileName | To represent a character string containing a file name. |
isession | To represent an integer variable storing the session identifier. |
FOK | To represent a boolean variable (TRUE/FALSE). |
...
Represented by 'Returns' in the function format, this is the value that the function returns when it is called.
Valid values include:
VOID | No value is returned |
|---|
When a void or no value is returned, you might use the function in the following manner:
...
CALL LceFunction(parameter1, parameter2) |
BOOL | A boolean value is returned. TRUE is 1 FALSE is 0. False normally results in an error code. A list of the error codes is in Appendix A of this guide. |
|---|
...
If LceFunction(parameter1, parameter2) = LceTrue then ' comment |
int | An integer number is returned. |
|---|---|
Long | A long integer is returned. |
...
This section provides important notes regarding the use of the function.
Portability Considerations | This section will also note any differences that may be encountered between using IBM is and other platforms as the hosts. A general discussion regarding host platform differences may be found in Things That May Be Different in the LANSA Application Design Guide's chapter: Generated Code C and SQL/ODBC Considerations. |
|---|
...