Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is a multiline #warning directive possible?

Tags:

c#

warnings

I read here that "Each preprocessor directive begins with a hash symbol (#), and all preprocessor directives must appear on one line. A newline rather than a semicolon indicates the end of the directive."

But I was wondering if maybe there is a trick to create a multiline #warning because, in an early stage of some code, I'm writing a warning that spans more than the width of the screen.

like image 509
victorvartan Avatar asked Aug 24 '12 12:08

victorvartan


People also ask

What is a multiline?

a : consisting of multiple lines of text a multiline headline : capable of showing, containing, or processing multiple lines of text a multiline display/field New multiline optical character readers are already being put in place; they can read an entire address and spray forth a bar code that stands for a nine-digit ...

What is a multiline text?

The Multiline field is similar to the Text field but allows for several lines of text. This field type allows you to enter a large amount of text based on the question or prompt. The benefit of using this type of field is that a Multiline field can hold up to 1 gigabyte of data or approximately two million characters.

Is multiline a word?

multi-line adjective (TEXT) having or involving several lines of text: Answers are entered into a multi-line text box. You can also leave multiline messages.

What is multiline format?

Text can span multiple lines as long as it is indented by at least one space. Only the space character ( U+0020 ) can be used for indentation. Fluent treats tab characters as regular text. single = Text can be written in a single line.


1 Answers

From http://msdn.microsoft.com/en-us/library/ed8yd1ha.aspx:

A preprocessor directive must be the only instruction on a line.

So, It's not possible.

like image 170
Doug Avatar answered Nov 15 '22 01:11

Doug