Re: [Scilab-users] Extraction of unusual fields of custom mlist in Scilab 6

2017-03-10 Thread Clément David
Hi Pierre, Nice catch, could you open a bug on that ? The bug is also much more understandable with : a = mlist(['mytype']); b = mlist(['myothertype']); function out = %mytype_e(varargin) var   = varargin($); field = varargin(1); disp(typeof(varargin)) disp(typeof(var)) disp(

[Scilab-users] Extraction of unusual fields of custom mlist in Scilab 6

2017-03-07 Thread Pierre Vuillemin
Hi all, I am encountering some difficulties with overloading in Scilab 6, and I'm wondering if this is a bug or not. Consider the following example, a = mlist(['mytype']); b = mlist(['myothertype']); function out = %mytype_e(varargin) var = varargin($); field = varargin(1); disp(ty