Next: , Previous: , Up: Input functions   [Contents][Index]


4.7.2 getnstr

The getnstr procedure is used to get strings from the terminal. In essence, it performs the same task as would be achieved by a series of calls to getch until a NL, CR, or EOF is received. The resulting string of characters is returned. The procedure always takes a length parameter which is the maximum length of string that it will allow to be input.