Re: [cc65] Problem with multidimensional arrays

From: Christopher Pow <christopher.s.pow1gmail.com>
Date: 2012-03-24 14:37:45
Probably because no dimension is specified in the first [] so it
doesn't know the size.

On Sat, Mar 24, 2012 at 4:29 AM, thefox xofeht <thefox@aspekt.fi> wrote:
> const unsigned char foo[][ 3 ] = {
>    { 1,2,3 },
>    { 4,5,6 }
> };
>
> const unsigned char bar[ 6 ] = {
>    1, 2, 3, 4, 5, 6
> };
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Mar 24 14:38:03 2012

This archive was generated by hypermail 2.1.8 : 2012-03-24 14:38:06 CET