Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!EE.ECN.PURDUE.EDU!bevis From: bevis@EE.ECN.PURDUE.EDU (Jeff Bevis) Newsgroups: comp.sys.amiga Subject: Re^2: Lattice C Power Windows Message-ID: <8912040104.AA01012@en.ecn.purdue.edu> Date: 4 Dec 89 01:04:37 GMT References: <8912030300.AA24366@en.ecn.purdue.edu> Sender: daemon@ucbvax.BERKELEY.EDU Organization: Purdue University Engineering Computer Network Lines: 36 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. | +--------------------------------+--------------------------------------------+