Files
linguist/samples/Scilab/scilab_function.sci
2012-07-23 15:52:49 -05:00

15 lines
328 B
Scilab

// A comment with whites and tabulations
// Email: <scilab.support@scilab.org>
// Scilab editor: http://www.scilab.org/
function [a, b] = myfunction(d, e, f)
a = 2.71828 + %pi + f($, :);
b = cos(a) + cosh(a);
if d == e then
b = 10 - e.field;
else
b = " test " + home
return
end
myvar = 1.23e-45;
endfunction