Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
function ffun(x, y)
|
||||
implicit none
|
||||
!DEC$ ATTRIBUTES DLLEXPORT, STDCALL, REFERENCE :: ffun
|
||||
double precision :: x, y, ffun
|
||||
ffun = x + y * y
|
||||
end function
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
Option Explicit
|
||||
Declare Function ffun Lib "vbafun" (ByRef x As Double, ByRef y As Double) As Double
|
||||
Sub Test()
|
||||
Dim x As Double, y As Double
|
||||
x = 2#
|
||||
y = 10#
|
||||
Debug.Print ffun(x, y)
|
||||
End Sub
|
||||
Loading…
Add table
Add a link
Reference in a new issue