Re: [edk2] Coding Style Line Length

2017-08-11 Thread Kinney, Michael D
Jim,

C has some flexibility here.  Multiple "" strings without commas
are concatenated as if they were one string.

  Print(
L"123456789 123456789 123456789 123456789 "
L"123456789 123456789 123456789 123456789\n"
);

Mike

> -Original Message-
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On
> Behalf Of jim.dai...@dell.com
> Sent: Friday, August 11, 2017 12:02 PM
> To: ler...@redhat.com
> Cc: edk2-devel@lists.01.org
> Subject: [edk2] Coding Style Line Length
> 
> Laszlo,
> 
> Are there any special considerations for Print() statements with
> respect
> to the 80 character line length?
> 
> If "No", what is the preferred format if one wants to print
> strings that
> are 80 or more characters such as:
> 
>   Print(L"123456789 123456789 123456789 123456789 123456789
> 123456789 123456789 123456789\n");
> 
> Regards,
> Jim
> ___
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] Coding Style Line Length

2017-08-11 Thread Jim.Dailey
Laszlo,

Are there any special considerations for Print() statements with respect
to the 80 character line length?

If "No", what is the preferred format if one wants to print strings that
are 80 or more characters such as:

  Print(L"123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789\n");

Regards,
Jim
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel