🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7819

Re: "chip" in SAS C

#7819
From: Ron Tarrant
Date: Fri, 04 Jan 1991 02:48
21 lines
873 bytes
> 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
Technical Details
Message-ID: <4329@mindlink.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!van-bc!rsoft!mindlink!a976

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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