Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC830713); site vu44.UUCP Path: utzoo!linus!decvax!mcvax!vu44!jack From: jack@vu44.UUCP (Jack Jansen) Newsgroups: net.lang.mod2 Subject: Re: Pascal vs. Modula-2 Message-ID: <360@vu44.UUCP> Date: Tue, 7-Aug-84 03:38:27 EDT Article-I.D.: vu44.360 Posted: Tue Aug 7 03:38:27 1984 Date-Received: Tue, 7-Aug-84 05:23:47 EDT References: <8600013@iuvax.UUCP> <385@pucc-i> Organization: VU Informatica, Amsterdam Lines: 18 Dave Seaman says: > One example: it was claimed that sets could not be > larger than 16 bits (on 16-bit machines). Apparently the author didn't know > that you can declare set types other than BITSET. That's right, but "Programming in Modula-2" states (chapter 18): .... In addition, implementations of Modula are allowed to set a limit to the number og elements admissable in base types. THAT LIMIT IS USUALLY THE WORDLENGTH OF THE COMPUTER USED .... (emphasis mine). So, although it isn't true that sets can never be bigger than 16 bits on a 16 bit machine, you should better beware that there is a very good chance that 16 members is the limit. Jack Jansen, {philabs|decvax}!mcvax!vu44!jack