RE: [cc65] Print heart character on C64?

From: MagerValp <MagerValp1cling.gu.se>
Date: 2004-09-23 13:22:57
>>>>> "RW" == Raj Wurttemberg <rajw@c64.us> writes:

RW> hello2.c(8): Error: Expression expected
RW> Line:  char foo[] = { 'w', 'o', 'r', 'l', 'd', 0x73, 0x00};
RW> hello2.c(8): Error: `;' expected
RW> Line:  char foo[] = { 'w', 'o', 'r', 'l', 'd', 0x73, 0x00};

RW> It compiles fine with gcc.

Try it with -Wall -ansi -pedantic, and it'll give you a hint - you
have an expression before the declaration. Move the POKE down below
the variable declaration and it'll be fine.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 23 13:23:00 2004

This archive was generated by hypermail 2.1.8 : 2004-09-23 13:23:10 CEST