Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!bloom-beacon!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uxc.cso.uiuc.edu!uxe.cso.uiuc.edu!leonardr From: leonardr@uxe.cso.uiuc.edu Newsgroups: comp.sys.mac Subject: Re: LSP keyboard EOF Message-ID: <46100076@uxe.cso.uiuc.edu> Date: 15 Feb 88 00:34:00 GMT References: <164500095@uiucdcsb> Lines: 26 Nf-ID: #R:uiucdcsb:164500095:uxe.cso.uiuc.edu:46100076:000:1327 Nf-From: uxe.cso.uiuc.edu!leonardr Feb 14 18:34:00 1988 friedman@uiucdcsb.cs.uiuc.edu(H. George Friedman, Jr.) writes in comp.sys.mac >A LightSpeed Pascal question: > >In reading from standard input, from the keyboard, is there any way to >signal end of file to the program? I can't find any indication in the >manual. > >Thanks to anyone who can help. I believe (and Rich will correct me if I am wrong, won't you Rich?) that you can signal the end of file the same way you would if you were working on a Unix machine (for example) by using a Cmd-D (or Control-D, to those Unix folk). I think that the reason for this is that Cmd/Ctl-D is a Pascal standard. +---------------------------------+-----------------------------------+ + + Any thing I say may be taken as + + Leonard Rosenthol + fact, then again you might decide+ + President, LazerWare, inc. + that it really isn't, so you + + + never know, do you?? + + leonardr@uxe.cso.uiuc.edu + + + GEnie: MACgician + + + Delphi: MACgician + + + + + +---------------------------------+-----------------------------------+