Using F# Interactive in Visual Studio 2013

If you want to try out some simple F# programs in Visual Studio , you can use the  F# Interactive Window which is shipped with F#.

This feature lets the developers to test small and simple F# code snippets .

Accessing F# Interactive Window in Visual Studio 2013

You can access the F# Interactive Window from the View Menu -> Other Windows option.

image

You can write and execute F# code directly from the F# Interactive Window and use the semicolons to indicate the end of the statement. The F# Interactive Window does not provide the intellisense support and might be a drawback but as an alternative solution , you can create a F# Script file and write the code .

 

image

 

 

Once the F# Code is written , you can select the code and right click in the editor to display the context menu . Select “Execute in Interactive” . This sends the selected code to be executed in F# Interactive Window.

 

image

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the error message “FileOpenAccessDenied – You do not have permissions to open this file...
  • .NET
  • December 3, 2024
You might have had a situation where your code once worked fine in ASP.NET application but now throws the below...
  • .NET
  • December 3, 2024
C# uses the flower bracket “{” and “}” to identify the block or scope of the function or program ....
  • .NET
  • December 3, 2024