Console.Read Method (Typed) | |
Use this to read the console input buffer.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOConsoleClasses (in XSharp.VOConsoleClasses.dll) Version: 2.19
Syntax Remarks
The Console:Read() method reads up to 256 characters of console input buffer.
Examples
The following lines wait for, read, and echo console input.
1FUNCTION Start(p)
2LOCAL oCon AS Console
3LOCAL sInput AS STRING
4oCon := Console{}
5oCon:Clear()
6oCon:Write("Enter text: ")
7sInput := oCon:Read()
8oCon:Write("You entered : " + sInput)
See Also