RosettaCodeData/Task/Call-a-function-in-a-shared-library/VBA/call-a-function-in-a-shared-library-1.vba

7 lines
166 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
function ffun(x, y)
implicit none
!DEC$ ATTRIBUTES DLLEXPORT, STDCALL, REFERENCE :: ffun
double precision :: x, y, ffun
ffun = x + y * y
end function