Hi,
So I have lines sources which are more than 2048 characters and why those are wrapped.
So I have seen at this link: http://www.keil.com/support/docs/2911.htm the answer to my problem so I used a backslash (\) character to concatenate two source lines with the C preprocessor. Example: long source line \ continues here
But it still wrapped lines there is still problem, I don't understand why ?
Can you help me please?
Thank you
Sems
"Everything but the preprocessor directives may be split wherever white space may be placed - i.e. between any two tokens."
Absolutely! In the 'C' language, "Whitespace" is any sequence of spaces, TABs, and/or newlines - so anywhere you can put a single space, you can equally put a newline.
For example you could, if you wanted, write your definition as:
code char MyArray1 [ 8000 ] = { 0xFF , 0xFB , 0x18 , 0x00 , 0x00 , : : 0xAA } ;
and then you'd have absolutely no problems whatsoever with excessively long lines.
You might, however, consider the excessively large number of excessively short lines to be a problem...