View - New Command Window

The Manifold Command Window provides a dialog for writing and executing queries in SQL and for interactively writing and executing scripts in various programming languages using the Command window as a REPL (Read-Eval-Print Loop) console for the specified language.   Launch using Ctrl-Tilde (the ~ character) or View - New Command Window - SQL.




Manifold's Radian parallel query database engine is built into Manifold and thus provides an always-on ability to write and to execute SQL queries.   Launch using Ctrl-Tilde (the ~ character)  or View - New Command Window - SQL.  To save the contents of a Command Window as a query component, use Edit - Save as Query.


For programming, JavaScript is built into Manifold using the Google V8 JavaScript engine and thus provides an always-on ability to write and to execute scripts written in JavaScript.   Because JavaScript is always available it is the default scripting language used for examples.  

IronPython and IronRuby

These languages will be available if we have installed Manifold using the portable installation that includes both IronPython and IronRuby.   If we have installed Manifold using an .exe installation package we must install IronPython and IronRuby using additional installation packages as described on the Manifold web site.

Other Languages

If we create a script by right-clicking into the Project pane and choosing New Script, the dialog allows us to choose the script language from C#, F#, IronPython, IronRuby, JavaScript, JScript, JScript.NET PerlScript, PythonScript, VB.NET and VBScript.  Because Manifold requires installation of Microsoft .NET all of the languages included in .NET or COM are also automatically available, namely C#, JScript, JScript.NET, VB.NET and VBScript.


Important:  The View - Command Window command includes IronPython and IronRuby in the list along with SQL and JavaScript but only SQL and JavaScript are guaranteed to always be available.   We may need to install IronPython and IronRuby from separately downloaded installation packages for them to be available.  


Command windows will pop open automatically when we open a query or a script component in the project pane by double-clicking on it, to allow us to edit that query or script.  


See the Command Window topic for an extended discussion using SQL.   For information on scripting, see the Manifold API Documentation website.


See Also







Command Window


Log Window


API Documentation