Singular
https://www.singular.uni-kl.de/forum/

reset in singular?
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1515
Page 1 of 1

Author:  martin [ Thu Aug 10, 2006 10:25 am ]
Post subject:  reset in singular?

Hello!
I'm relatively new to Singular and looking for a command to reset the program to the state where it's in when freshly started, without having to restart it, i.e. delete all variables, procedures etc.; similar to what Maple's "restart"-command should do ;)
Thanks for your help in advance,
Martin

Author:  vinay [ Sat Aug 12, 2006 4:41 pm ]
Post subject: 

Dear Martin,

I do not know the command in Maple you are referring to, but I guess you want to use the Singular commands ``kill" or ``killall" (ref: Singular Book: pg 516 OR online manual).

For the killall command you need to load
> LIB "general.lib";

But this command does not unload the user-defined procedures, but you may try the overloaded version of the same command
> killall("type_name");
> killall("not", "type_name");

with `proc' as a type_name in first case.

Hope this helps.

Vinay

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/