Open rtoy opened 3 months ago
Imported from SourceForge on 2024-07-05 17:40:46 Created by robert_dodier on 2016-06-11 19:56:53 Original: https://sourceforge.net/p/maxima/bugs/3174/#3d1e
Imported from SourceForge on 2024-07-05 17:40:49 Created by robert_dodier on 2016-06-11 19:56:53 Original: https://sourceforge.net/p/maxima/bugs/3174/#bb7e
gg
isn't a label, so kill(labels)
has no effect on it. Did you mean to write kill(values)
or kill(gg)
instead? If so, I think it will have the expected effect.
Imported from SourceForge on 2024-07-05 17:40:53 Created by zmth on 2016-06-12 01:28:12 Original: https://sourceforge.net/p/maxima/bugs/3174/#3d1e/6696
In my programs I often have many variable assignments used already in other input steps and I don't want to have to look and go thru all that I may have used before. I cannot use kill(all) because then that kills things in a long blanket statement I preface. So how can i clear all variable assignments regardless of their names. To be more specific I want about everything killed EXCEPT (assume(positive,true),assume_pos_true,showtime:true,ratprint:false,load("lrats"),simpsum:true,load(simplify_sum) ,file_output_append:true ); So if kill(labels) won't do it what will ?
From: Robert Dodier <robert_dodier@users.sf.net>
To: [maxima:bugs] 3174@bugs.maxima.p.re.sf.net Sent: Saturday, June 11, 2016 2:56 PM Subject: [maxima:bugs] #3174 kill(labels) has no effect
Attachments:
Imported from SourceForge on 2024-07-05 17:40:56 Created by robert_dodier on 2016-06-12 23:03:05 Original: https://sourceforge.net/p/maxima/bugs/3174/#3d1e/6696/31bd
The values
list comprises any user-assigned variables. Try values;
to see what is on the list. So I think maybe the effect you want is: kill(values);
Imported from SourceForge on 2024-07-05 17:40:45 Created by zmth on 2016-06-09 12:17:31 Original: https://sourceforge.net/p/maxima/bugs/3174
wxMaxima version: 13.4.0 Maxima version: 5.31.1 Maxima build date: 2013-09-24 09:49:12 Host type: i686-pc-mingw32 Lisp implementation type: GNU Common Lisp (GCL) Lisp implementation version: GCL 2.6.8
(gg:1,kill(labels),gg)
still gives output 1 instead of the symbol gg as it should