Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!hc!beta!unm-la!unmvax!charon!cs2531cd From: cs2531cd@charon.unm.edu (Steve Freed) Newsgroups: comp.lang.pascal Subject: Turbo Pascal: file input buffers Message-ID: <2700@charon.unm.edu> Date: 4 Apr 88 16:56:18 GMT Reply-To: cs2531cd@unmc.UUCP (Steve Freed) Distribution: na Organization: University of New Mexico, Albuquerque, NM Lines: 24 Keywords: Turbo, get, put, pointers, window, input. I need a little help with Turbo Pascal dealing with files and the input buffer (window, pointer, what ever you like to call it). My documentation seems to neatly skip over this little gem, and I am really perplexed on how to write the following "standard pascal" code in Turbo: var number : integer; letter : char; begin if inputfile^ in [0..9] then readln(inputfile, number) else read(inputfile,letter); end any help on this would be met with a very warm welcome. Many thanks in advance.... Steve Freed cs2531cd@charon.unm.edu