

LINK2() - Link interest rates
| Type
| Field
| Description
|
| double
| dInt[]
| Interest percentages
|
| integer
| sCount
| Number of percentages
|
| integer
| sNumber
| Number of periods
|
PowerBuilder Function declaration
function double LINK2(double dInt[], int sCount, int sNumber) library "IFL16.DLL"
Visual Basic Function declaration
Declare Function LINK2 lib "IFL16" (ByVal dInt[] As Double, ByVal sCount As Integer, ByVal sNumber As Integer) As Double
Access Function declaration
Declare Function LINK2 lib "IFL16" (dInt As Any, ByVal sCount As Integer, ByVal sNumber As Integer) As Double
C/C++ Synopsis
#include "function.h"
double LINK2(double *dInt, int sCount, int sNumber)
32-bit DLL declarations
PowerBuilder Function declaration
function double LINK2(double dInt[], int sCount, int sNumber) library "IFL32.DLL"
Visual Basic Function declaration
Declare Function LINK2 lib "IFL32" (ByRef dInt As Double, ByVal sCount As Integer, ByVal sNumber As Integer) As Double
Access Function declaration
Declare Function LINK2 lib "IFL32" (dInt As Any, ByVal sCount As Integer, ByVal sNumber As Integer) As Double
C/C++ Synopsis
#include "function.h"
double LINK2(double *dInt, short sCount, short sNumber)
Example:
| dInt[1]
| =
| 0.02
| (2%)
|
| dInt[2]
| =
| 0.023
| (2.3%)
|
| dInt[3]
| =
| 0.015
| (1.5%)
|
| dInt[4]
| =
| 0.06
| (6%)
|
| sCount
| =
| 4
|
|
| sNumber
| =
| 1
|
|