[Scilab-users] %mlistType_clear overloading of clear() for mlist custom types

Lamy Alain Alain.Lamy at cnes.fr
Wed Jul 1 13:29:36 CEST 2020


Hello Samuel,

Comparing with the example in the « clear » page, the “%test_clear” function must have one argument :

--> m = mlist("test");
--> function %test_clear(x)
  >   disp("mlist test cleared")
  > endfunction
--> clear m;

  "mlist test cleared"

Alain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200701/26d42390/attachment.htm>


More information about the users mailing list