[scilab-Users] Passing arguments by reference

Mathieu Dubois mathieu.dubois at limsi.fr
Mon Sep 6 09:29:13 CEST 2010


AFAIK, there is no way to do that...

However there is a lengthy article on scilab wiki 
(http://wiki.scilab.org/) called "Emulate Object Oriented 
<http://wiki.scilab.org/Emulate_Object_Oriented_in_Scilab>" which might 
help you.

Mathieu

On 09/01/2010 07:56 PM, André FS wrote:
> Hello, people.
>
> Is there any special operator to do that?
>
> -->function f(x)
> -->    (?)x = (?)x+1
> -->endfunction;
> -->a=1;
> -->f(a);
> -->disp(a);
>     2
>
> --
> André FS
> Aeronautical Engineering Student
> Instituto Tecnológico de Aeronáutica (www.ita.br)
> CENIC (http://www.cenic.biz/index_1.html)
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100906/1628f6bd/attachment.htm>


More information about the users mailing list