Right click in the FSI window and click Reset Session

By on 12/8/2008 2:10 PM ()

I was meaning more when using the command prompt version.

Is there a command to clear the screen and one to reset the session?

By on 12/9/2008 4:10 AM ()

Hi,
If you just want to clear the console screen then you can run standard .NET method:

1
2
 
> System.Console.Clear();;

Resetting the FSI will clear all declared types and values, so that's probabbly not what you want to do. It could be useful to do this if you could at least keep the command history, but I'm afraid there's no way to do this. After all, if you want to keep your command history then it's much better to enter the code in Visual Studio and use Alt+Enter.

By on 12/9/2008 4:36 AM ()

Hi,
If you just want to clear the console screen then you can run standard .NET method:

1
2
 
> System.Console.Clear();;

Resetting the FSI will clear all declared types and values, so that's probabbly not what you want to do. It could be useful to do this if you could at least keep the command history, but I'm afraid there's no way to do this. After all, if you want to keep your command history then it's much better to enter the code in Visual Studio and use Alt+Enter.

Perhaps we can get them to put this in as a command the next time? #reset perhaps?

By on 12/9/2008 5:32 AM ()

Perhaps we can get them to put this in as a command the next time? #reset perhaps?

Give the following a try:

#quit;;

Also, try

#help;;

By on 12/10/2008 4:49 PM ()

Perhaps we can get them to put this in as a command the next time? #reset perhaps?

Give the following a try:

#quit;;

Also, try

#help;;

#help doesn't tell too much other than how to load sript files and reference stuff.

#quit closes the window which is not what I want to do. I just want to reset the session.

By on 12/11/2008 4:45 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper