summaryrefslogtreecommitdiff
path: root/modules/functions/examples/g.sci
blob: e944ab84a43e9eb23004883615cd15234ce28520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) INRIA
//
// This file is released under the 3-clause BSD license. See COPYING-BSD.

//============================
// Example How to do a function
//============================

function [z]=g(x,y)
    z=x+y;
endfunction