public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Kinney, Michael D" <michael.d.kinney@intel.com>
To: "Jim.Dailey@dell.com" <Jim.Dailey@dell.com>,
	"lersek@redhat.com" <lersek@redhat.com>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: Coding Style Line Length
Date: Fri, 11 Aug 2017 21:09:29 +0000	[thread overview]
Message-ID: <E92EE9817A31E24EB0585FDF735412F5A7D7BEAD@ORSMSX113.amr.corp.intel.com> (raw)
In-Reply-To: <47a6ad3080d242199d65bd88944c9b0f@ausx13mps335.AMER.DELL.COM>

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-bounces@lists.01.org] On
> Behalf Of Jim.Dailey@dell.com
> Sent: Friday, August 11, 2017 12:02 PM
> To: lersek@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


      reply	other threads:[~2017-08-11 21:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-11 19:01 Coding Style Line Length Jim.Dailey
2017-08-11 21:09 ` Kinney, Michael D [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E92EE9817A31E24EB0585FDF735412F5A7D7BEAD@ORSMSX113.amr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox