🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #73

Re: Oberon Question

#73
From: USENET News System
Date: Thu, 30 Jul 1992 21:44
29 lines
1464 bytes
In article <z#pml+=.thomp@netcom.com>, thomp@netcom.com (Thom Philabaum) writes:
> 
> Does Oberon support ennumerated types as in Pascal/Modula?  In other words,
> can you still say,
> 
> TYPE
> 	myColors : (red, green, purple);
> 
> ????
No, it doesn't. There are reasons to do with type extensions which I am not
qualified to answer.
> 
> If not, is there something that provides similar functionality?
> Thanks...

Yes, you can use integer types.
CONST red=0; green=1; purple=2;
See the MODULA2 to OBERON section in the manual.
> 
> Oh yeah, If anybody at ETH is readin this: I BEG you to support non-68030
> macs (specifically, MacPlus/Powerbooks 100/140).  One of the boasts about
> Oberon is that is doesn't require oodles of memory/diskspace and yet you
> can't run it on what would seem to be sufficiently powerful machines.
> 
> Anyway, that's my two cents....
> 
I would enthusiastically concur with that. And what about my AT - it
can use protected mode and could address up to 20Mb if I had it. Why
does everyone only support 386's these days?
Technical Details
Message-ID: <1992Jul30.214457.19642@massey.ac.nz>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!TMoore@massey.ac.nz
References: <z#pml+=.thomp@netcom.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!TMoore@massey.ac.nz
Newsgroups: comp.lang.modula2
Subject: Re: Oberon Question
Message-ID: <1992Jul30.214457.19642@massey.ac.nz>
From: news@massey.ac.nz (USENET News System)
Date: Thu, 30 Jul 92 21:44:57 GMT
References: <z#pml+=.thomp@netcom.com>
Organization: Massey University
Lines: 29