Right, sorry for my previous message.

But, at the user level there are very few use cases: the clear overload is only useful if some mlist fields contain some pointers to allocated data. For example sparse LU  factors or Java objects.

S.

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"

Alain


_______________________________________________
users mailing list
users@lists.scilab.org
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to