Try surrounding the strings with curly braces ( {"...."}; }

regards,
Vangelis


Ov3rM1nd wrote:
>
>
> Hi, Im writing a code for a PIC 16F877A and im getting this error:
> piccode.c:50: syntax error: token -> '[' ; column 17
>
> The code is this:
>
> const char code[]=
>         "\x5a\x38\x30\x41"
>                 "\x53\x4d\x1a\x0a"
>                 "\x00\x00\x06\x01"
>                 "\x0e\x01\xed\x41"
>                 "\xc3\x04\x00\xff";
>
> Does anyone know what is the problem?
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Sdcc-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to