Blog: Two and half implementations of a scilab wrapper without any compilation: code.sce

File code.sce, 120 bytes (added by regis.lebrun@…, 5 years ago)

Scilab external code

Line 
1exec("input.data", -1)
2y = x1 + x2;
3f = mopen("result.data", "wt");
4mfprintf(f, "y = %.20e", y);
5file("close", f);
6quit