Created
January 14, 2019 21:04
-
-
Save vmussak/250a282254488dccca47cfd8e65b5bd9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let edge = require('edge-js'); | |
var soma = edge.func({ | |
source: function () {/* | |
async (dynamic input) => | |
{ | |
var soma = new Matematica.OperacoesMatematicas().Soma(input.a, input.b); | |
return soma; | |
} | |
*/}, | |
references: ["Matematica.dll"] | |
}); | |
soma({a: 10, b: 30}, function (error, result) { | |
if (error) throw error; | |
console.log(result); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment