Skip to content

Instantly share code, notes, and snippets.

@vmussak

vmussak/soma.js

Created Jan 14, 2019
Embed
What would you like to do?
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