[Scilab-users] %mlistType_clear overloading of clear() for mlist custom types
Samuel Gougeon
sgougeon at free.fr
Wed Jul 1 18:46:10 CEST 2020
Le 01/07/2020 à 13:29, Lamy Alain a écrit :
>
> 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"
>
Thank you, Alain. I did not pay attention to the example.
I will fix the page to indicate that at least one argin is required,
provided that this requirement is intentional.
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200701/21fbbb0c/attachment.htm>
More information about the users
mailing list