Thank you Rafael,
I was looking for solution which allow object (tlist) modification by
function call but it seems that it is not possible to implement the
following without globals or using function return argument.
function addChannelToSession(obj, arg)
obj.channel = arg;endfunction
function obj=createSession()
obj = tlist(["tlisttype", "channel"], []);endfunction
s = createSession(); // s.channel is []addChannelToSession(s, 1); //
s.channel is 1
Regards Grzegorz
2018-07-03 11:19 GMT+02:00 Rafael Guerra <[email protected]>:
> *ProszÄ™*
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.scilab.org/mailman/listinfo/users
>
>
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users