From: Robert D. <rob...@us...> - 2022-02-27 22:26:25
|
Note that implementing the proposal mentioned here would change the existing behavior as described in bug #3180. Not sure what to think at this point. --- ** [bugs:#986] declare refuses subscripted variables and other non atoms** **Status:** open **Group:** None **Labels:** declare subscripted variables **Created:** Tue Sep 12, 2006 01:24 AM UTC by Robert Dodier **Last Updated:** Sun Feb 27, 2022 10:04 PM UTC **Owner:** nobody declare refuses subscripted variables and other non atoms. E.g. \(%i25\) declare \(foo\[1\], integer\); Improper argument to declare: foo\[1\] declare should at least recognize variables with literal subscripts \(e.g. foo\[1\], bar\[2\], baz\[3\]\). declare might also recognize other kinds of expressions such as variable subscripts \(e.g. foo\[n\]\), unevaluated function calls \(e.g. foo\(x\)\), or maybe arbitrary expressions \(e.g. sin\(foo\(x\) + bar\[y\]\) + baz\). At present declarations are stored in the property list of the symbol for the declared symbol. I don't know how we would modify that to store declarations for nonatoms. --- Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |