2 single: Getting Input; Introduction
8 We can get input from the keyboard using
11 * The GetChar() Function
12 * The Input() Function
15 pair: Getting Input; Give Command
30 See "Enter the first number : " Give nNum1
31 See "Enter the second number : " Give nNum2
32 See "Sum : " + ( 0 + nNum1 + nNum2 )
38 Enter the first number : 3
39 Enter the second number : 4
43 pair: Getting Input; GetChar()
48 We can get one character from the standard input using the GetChar() function
54 GetChar() ---> Character
67 GetChar() GetChar() # End of line
69 # the previous two lines can be replaced with the next line
73 see "Enter your name : " give cName
81 pair: Getting Input; Input()
86 We can get input from the keyboard using the Input() function
92 Input(nCount) ---> string
94 The function will wait until nCount characters (at least) are read
100 See "Enter message (30 characters) : " cMsg = input(30)
101 See "Message : " + cMsg