Xref: utzoo comp.sys.amiga:75688 comp.sys.amiga.tech:17399 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!ericom!eos.ericsson.se!etxtomp From: etxtomp@eos.ericsson.se (Tommy Petersson) Newsgroups: comp.sys.amiga,comp.sys.amiga.tech Subject: Re: "chip" in SAS C Message-ID: <1991Jan4.125119.7068@ericsson.se> Date: 4 Jan 91 12:51:19 GMT References: <1991Jan4.031246.20044@cs.uoregon.edu> Sender: news@ericsson.se Reply-To: etxtomp@eos.ericsson.se Organization: Ericsson Telecom AB Lines: 28 In article <1991Jan4.031246.20044@cs.uoregon.edu> rlittle@comix.cs.uoregon.edu (Robert A. Little) writes: > > >Q: Why does the following not work? > >.... >USHORT chip Image={0xF700,0xF700}; >.... > >The SAS C5.10 compiler produces "Error 25: modifiable lvalue required" > >If I remove the "chip" designation, the error does not occur...If I use >far/near/const etc. the error likewise does not occur... Why? Why should >chip cause the error... (BTW: this line was copied from the AmigaDOS >RK 1.3 manual) > >Thanks... > >rob > >---------------------- >rlittle@cs.uoregon.edu I don't now if this will solve the problem, but try replace USHORT (which I beleive is obsolete) with UWORD. Tommy Petersson etxtomp@eos.ericsson.se