<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno gio 1 ago 2019 alle ore 20:32 Benoît Minisini <<a href="mailto:g4mba5@gmail.com">g4mba5@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 01/08/2019 à 20:17, Gianluigi a écrit :<br>
> I hope that what I was asking is more clearer.<br>
<br>
Sorry, I don't understand what your problem is.<br>
<br>
The ReadOnly property makes an array read-only until the end of the <br>
program, that's all.<br>
<br>
It's useful for a class that has an internal array that must be made <br>
available to the outside user, but without letting it be modified by him.<br>
<br>
Regards,<br>
<br>
-- <br>
Benoît Minisini<br></blockquote><div><br></div><div>Hi,<br>unfortunately, as often happens to me, I made a mistake and sent the answers directly to Benoit. :-(<br>Which, in conclusion, told me that a property (read-only) is a function and an array (read-only) is an object. :-)<br>All right, I know I'm bumbling and I deserve it and Benoit is also too kind and helpful and I thanked him and thank him again.<br>Except I haven't well understand yet what the difference is and when using, in a class, a normal array that is returned in read-only from a read property and a read-only array.</div><div><br></div><div>Regards and goodnight<br></div><div>Gianluigi<br></div></div></div>