Xref: utzoo comp.sys.amiga:75664 comp.sys.amiga.tech:17385 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!mips!cs.uoregon.edu!news From: rlittle@comix.cs.uoregon.edu (Robert A. Little) Newsgroups: comp.sys.amiga,comp.sys.amiga.tech Subject: "chip" in SAS C Message-ID: <1991Jan4.031246.20044@cs.uoregon.edu> Date: 4 Jan 91 03:12:46 GMT Sender: news@cs.uoregon.edu (Netnews Owner) Organization: Department of Computer Science, University of Oregon Lines: 21 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