Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Lint tool (SLint) > Checker for order in function arguments

Checker for order in function arguments

Description

Check that optional arguments are called at the right place.

Examples

function foo(a, b, c)
...
endfunction

function faa(x, y, z)
   foo(x, b = 1, z) // not ok
endfunction

function fee(x, y, z)
   foo(x, b = 1, c = 2) // ok
endfunction

function fii(x, y, z)
   foo(x, c = 2, b = 1) // not ok
endfunction

See Also

  • slint — Call the lint tool
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:55 CEST 2016