Ring/Lessons/Getting Input

Getting Input
We can get input from the keyboard using


 * The Give Command
 * The GetChar Function
 * The Input Function

Give Command
Syntax:

Example:

Output:

GetChar Function
We can get one character from the standard input using the GetChar function

Syntax:

Example:

Input Function
We can get input from the keyboard using the Input function

Syntax:

The function will wait until nCount characters (at least) are read

Example: