Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!van-bc!rsoft!mindlink!a976 From: a976@mindlink.UUCP (Ron Tarrant) Newsgroups: comp.sys.amiga.tech Subject: Re: "chip" in SAS C Message-ID: <4329@mindlink.UUCP> Date: 4 Jan 91 02:48:42 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 21 > rlittle@comix.cs.uoregon.edu writes: > > Q: Why does the following not work? > > USHORT chip Image={0xF700,0xF700}; > .... > > rlittle@cs.uoregon.edu Try: USHORT chip Image[] = {0xF700, 0xF700}; Note the inclusion of the "[]" after the variable name. If I'm not mistaken (and I ran into this particular lattice error about fifty million hundred thousand times in that last year) it's telling you that you need to declare an array instead of what seems to be a single-value variable. -Ron Tarrant a976@Mindlink.UUCP