On Tue, May 14, 2024 at 06:58:34PM +0200, Grégory Vanuxem wrote: > I am not on a computer. > > Is it possible to get a property in Spad, like C++ for example, like ojb.truc? > > Not like a Record I have to check first. And not not a number
It is not clear to me what you want. Note that in FriCAS _everything_ visible outside a domain is a function. That includes "setters", that is functions which as a side effect assign value to variables or part of variables (in case of composite types). If your function is called 'setelt!', then you can use assignment syntax when calling such functions. Also, outside domains one can only access exported functionality. I you need access to something internal, then you must first export appropriate functions (and recompile the domain). If you want you can add 'setelt!', including Record-like. -- Waldek Hebisch -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/ZkPMYMb84nshl7BI%40fricas.org.