Pragma Do Not Reformat Block
Is there a pragma directive or other ways to protect a btext block format.
Example:
#pragma noreformat
char test[]=
"Start of very long"
" more "
" more "
"End of long text";
#pragma reformat
char test[]="Start of very long"" more "" more ""End of long text";
For now I declare it as an external in anther file and never reformat that file.
Thank you in advance.
Dr.
:(
What you mean? The compiler reformats what you write?
I am going to assume that this question is in reference to selecting all text in a source file and choosing Convert To>Formatted C Code. This tends to take long statements that one has broken up over several lines and combine them on one line.
If that is the case, I don't know of a way to prevent it.
comments may help
char test[] = //
"Start of very long" //
" more " //
" more " //
"End of long text"; //