Name

NIN annotation tag — Scilab2C Function annotation : NIN

Calling Sequence

      //SCI2C: NIN=    number
    

Parameters

number

Specifies the number of input arguments

Description

This annotation must be placed before a user function to allow Scilab2C to convert it.

Examples

//SCI2C: NIN= 0
function helloWorld()
  disp("Hello World !");
emdfunction
//SCI2C: NIN= 1
function displayArg(x)
  disp("x");
emdfunction

    
//SCI2C: NIN= 2
function z=doAddition(x, y)
  z = x + y;
emdfunction

    

Authors

Bruno JOFRET
Raffaele NUTRICATO