Jump to content

Call a function in a shared library: Difference between revisions

(Added BBC BASIC)
Line 302:
}
}</lang>
 
=={{header|Mathematica}}==
This works on windows and on linux/mac too (through Mono)
<lang Mathematica>Needs["NETLink`"];
externalFloor = DefineDLLFunction["floor", "msvcrt.dll", "double", { "double" }];
externalFloor[4.2]
-> 4.</lang>
 
=={{header|OCaml}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.