Click or drag to resize

Console Constructor (Typed)

X#
Instantiate a new Console object.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOConsoleClasses (in XSharp.VOConsoleClasses.dll) Version: 2.21
Syntax
 CONSTRUCTOR()
Request Example View Source
Remarks
The constructor allocates a new console window. By default, or if the lNew parameter is set to FALSE, X# first tries to use an already open console window, e.g., if the application was started from the command line. If this fails, or if lNew was set to TRUE, Console{} allocates and opens a new console window.
Examples
This code snippet creates and clear a new console window:
X#
1FUNCTION Start()
2LOCAL oCon AS Console
3oCon := Console{}
4oCon:Clear()
See Also