[comp.sys.amiga] Re^2: Lattice C Power Windows

bevis@EE.ECN.PURDUE.EDU (Jeff Bevis) (12/04/89)

Oops!  Excuse my syntax, but in the following post:

In article <8912030300.AA24366@en.ecn.purdue.edu>, bevis@EE.ECN.PURDUE.EDU (Jeff Bevis) writes:
>
>When PW writes its code for you, it declares all of its image data like this:
>
>USHORT ImageDataXX {
>0x0000,0xffff,0x0000,0xffff
>};
>
>
>USHORT chip ImageDataXX {
>0x0000,0xffff,0x000,0xffff
>};
>

Those lines are WRONG.  Change them to:

USHORT ImageDataXX[] = {
...
};

and

USHORT chip ImageDataXX[] = {
...
};

Of course we need to declare those ImageData identifiers as pointers!  Sorry,
and please excuse my syntax. :-)


+--------------------------------+--------------------------------------------+
| Jeff Bevis 		         | "But I don't like spam!"		      |
| bevis@en.ecn.purdue.edu	 | 	     Give me Amiga or nothing at all. |
+--------------------------------+--------------------------------------------+