Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!amdahl!dlb!megatest!djones From: djones@megatest.UUCP (Dave Jones) Newsgroups: comp.lang.pascal Subject: Re: Pascal Enumerated I/O Message-ID: <284@goofy.megatest.UUCP> Date: 23 Feb 88 23:24:55 GMT References: <1077@csuna.UUCP> Organization: Megatest Corporation, San Jose, Ca Lines: 30 in article <1077@csuna.UUCP>, abcscnuk@csuna.UUCP (Naoto Kimura) says: > > In article <673@cresswell.quintus.UUCP> ok@quintus.UUCP (Richard A. O'Keefe) writes: > Output I can see how it could be done, but input is another story. The > compiler would have to have something like yacc or lex built into it. > We implemented it here at Megatest without breathing hard. (Actually just debugged the Berkeley implementation.) Instead of yacc and lex we used, TA TA!, getchar(). (It used to be scanf().) > As someone has already stated, I/O of enumerated types is contradictory to > the policy of strong typing. Huh? Yours truly, Dave Jones Megatest Corp. 880 Fox Lane San Jose, CA. 95131 (408) 437-9700 Ext 3227 UUCP: ucbvax!sun!megatest!djones ARPA: megatest!djones@riacs.ARPA NO ROT WHATSOEVER.