next up previous contents
Next: Command Line Input Up: Input Modes Previous: Prompted Input

Scanning and Decoding of Text Strings

In addition to prompting for input from the User, the Application Programmer may use a set of string decoding Subprograms to pickup individual words from a line of text or text string and to convert words into Integer, Hexadecimal or Real numbers etc. These may be used to deal with the situation where the response from a User may either be a word or a number. The Application Program should prompt for a Text String and the decoding Subprograms may be used to determine whether it is a Number or not. Decoding of Text Strings is discussed in detail in Chapter 4.


Liz Buckle
Fri Jan 13 17:40:55 CST 1995