Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: reset in singular?
PostPosted: Thu Aug 10, 2006 10:25 am 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Sat Aug 12, 2006 4:41 pm 

Joined: Sat Oct 01, 2005 11:40 am
Posts: 40
Location: IIT Guwahati, Guwahati, Assam, INDIA
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 10:56 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group