- Aide Scilab
- Scilab
- Mots clés Scilab
- TMPDIR
- abort
- argn
- banner
- boolean
- break
- clear
- clearglobal
- comp
- debug
- errcatch
- errclear
- error
- exists
- exit
- external
- extraction
- getos
- getshell
- gstacksize
- ieee
- insertion
- inv_coeff
- iserror
- isglobal
- macr2tree
- matrices
- matrix
- mode
- mtlb_mode
- names
- null
- pause
- perl
- poly
- predef
- quit
- rational
- resume
- sciargs
- scilab
- stacksize
- startup
- symbols
- testmatrix
- type
- typename
- user
- varn
- what
- where
- whereami
- who
- whos
- with_atlas
- with_javasci
- with_macros_source
- with_pvm
- add_demo
- clearfun
- continue
- delbpt
- dispbpt
- edit
- error_table
- format
- funcprot
- funptr
- getdebuginfo
- getmd5
- getmemory
- getmodules
- getscilabmode
- getvariablesonstack
- getversion
- intppty
- lasterror
- macr2lst
- newfun
- readgateway
- setbpt
- ver
- warning
- who_user
- with_module
- with_texmacs
- with_tk
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
intppty
set interface argument passing properties
Calling Sequence
funs=intppty() intppty(fun)
Arguments
- fun
- integer an interface number (see funptr) 
- funs
- integer vector, vector of interface number (see funptr) 
Description
The interface programs may be written in 2 different ways for the mode of function argument passing.
In the first and default way, the arguments are passed by value. With the following syntax:
foo(A,1+2)
the argument associated with A will be passed by value (a copy
    of A is made before foo is called, and
    the argument associated with 1+2 will be passed by value.
In
    the second way arguments may be passed be reference if there are
    "named arguments" (no copy of the variable value is
    done). intppty(fun) with fun>0 tells Scilab that the
    interface with number fun can handle arguments passed by
    reference. With the following syntax:
foo(A,1+2)
the argument associated with A will be passed by reference, and
    the argument associated with 1+2 will be passed by value.
Warning, declaring that the interface with number
    fun can handle arguments passed by reference if it is not the
    case should produce unpredictable results.
intppty(fun) with fun<0 suppress this property
    for the interface -fun.
intppty() returns the vector of interfaces which handle
    arguments passed by reference.
This function may be useful for dynamically loaded interface (see addinter).
See Also
| << getversion | Scilab | lasterror >> |