Scilab 6.0.0
- Aide de Scilab
- Lint tool (SLint)
- Checker for bracketed expressions
- Checker to count break or coninue in loops
- Checker for comment ratio
- Checker for format of decimal numbers
- Checker for deprecated functions
- Checker for empty block
- Checker for == as assignment
- Checker for function's arguments
- Checker for order in function arguments
- Checker for function name
- Checker error on function return
- Checker for global keyword
- Checker for illegal calls
- Checker for implicitit list
- Checker for line length
- Checker for lines count
- Checker for load/save functions
- Checker for McCabe complexity
- Checker for mopen/mclose functions
- Checker for NaN in comparisons
- Checker to count the nested blocks
- Checker for 'not equal' operator
- Checker for double negation
- Checker for old not operator
- Checker for printf function
- Checker for redefinition
- Checker to count return in a function
- Checker for select
- Checker for semicolon at end of line
- Checker for single instruction
- Checker for spaces in arguments separated with commas
- Checker to count the statements in a condition (if or while condition)
- Checker for struct
- Checker for todo in comments
- Checker for unreachable code
- Checker for function's arguments
- Checker for useless operations
- Checker for variable name
- Checker for variables use
- slint
Aide de Scilab >> 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
Comments
Add a comment:
Please login to comment this page.