[Coco] help me out please

Steven Hirsch snhirsch at gmail.com
Thu Feb 18 07:46:50 EST 2010


On Thu, 18 Feb 2010, Bob Devries wrote:

> Hi all,
>
> I've been banging my head against a virtual wall here.....
> This code snippet compiles correctly on my PC C compiler (Bloodshed Dev-C++), 
> but fails on both the OS-9/6809 compiler and the OS-9/68000 compiler:
>
> char *ending[4]={"th","st","nd","rd"};
>
> The error given is "Can't initialise".

Just a WAG:

char *ending[4];

ending[0] = "th";
ending[1] = "st";
ending[2] = "nd";
ending[3] = "rd";


-- 



More information about the Coco mailing list