🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.tech
1 messages
1 total messages Started by Ron Tarrant Fri, 04 Jan 1991 02:48
Re: "chip" in SAS C
#7819
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads