home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / modula2 / 981 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.4 KB

  1. Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!TMoore@massey.ac.nz
  2. Newsgroups: comp.lang.modula2
  3. Subject: Re: Oberon Question
  4. Message-ID: <1992Jul30.214457.19642@massey.ac.nz>
  5. From: news@massey.ac.nz (USENET News System)
  6. Date: Thu, 30 Jul 92 21:44:57 GMT
  7. References: <z#pml+=.thomp@netcom.com>
  8. Organization: Massey University
  9. Lines: 29
  10.  
  11. In article <z#pml+=.thomp@netcom.com>, thomp@netcom.com (Thom Philabaum) writes:
  12. > Does Oberon support ennumerated types as in Pascal/Modula?  In other words,
  13. > can you still say,
  14. > TYPE
  15. >     myColors : (red, green, purple);
  16. > ????
  17. No, it doesn't. There are reasons to do with type extensions which I am not
  18. qualified to answer.
  19. > If not, is there something that provides similar functionality?
  20. > Thanks...
  21.  
  22. Yes, you can use integer types.
  23. CONST red=0; green=1; purple=2;
  24. See the MODULA2 to OBERON section in the manual.
  25. > Oh yeah, If anybody at ETH is readin this: I BEG you to support non-68030
  26. > macs (specifically, MacPlus/Powerbooks 100/140).  One of the boasts about
  27. > Oberon is that is doesn't require oodles of memory/diskspace and yet you
  28. > can't run it on what would seem to be sufficiently powerful machines.
  29. > Anyway, that's my two cents....
  30. I would enthusiastically concur with that. And what about my AT - it
  31. can use protected mode and could address up to 20Mb if I had it. Why
  32. does everyone only support 386's these days?
  33.