On Fri, 5 Sep 2008 14:24:16 -0500, Robert Dailey <rcdailey@gmail .comwrote:
mystring = (
"This is a very long string that "
"spans multiple lines and does "
"not include line breaks or tabs "
"from the source file between "
"the strings partitions.")
Jean-Paul
>Hi,
>
>I find quite often that I'm writing things like this:
>
>raise FatalExcept( "Insufficie nt number of arguments specified. Exactly {0}
>arguments are required. See stage.bat for documentation on accepted
>parameters.".f ormat( num_arguments ) )
>
>On my display (Vertical monitor), this exceeds the width of my display, and
>to view the entire length of the string I am forced to pan my view left and
>right. Is there a special way I can format this string so that it fits
>nicely on the screen? Keep in mind that one important factor is that
>whitespace is very sensitive, and I do not want line breaks in my script
>file to become part of the string itself. I like how C++ handles strings,
>like this:
>
>char const* mystring =
"This is a very long string that "
"spans multiple lines and does "
"not include line breaks or tabs "
"from the source file between "
"the strings partitions."
>
>
>What do you guys prefer? Thanks for reading.
>
>
>I find quite often that I'm writing things like this:
>
>raise FatalExcept( "Insufficie nt number of arguments specified. Exactly {0}
>arguments are required. See stage.bat for documentation on accepted
>parameters.".f ormat( num_arguments ) )
>
>On my display (Vertical monitor), this exceeds the width of my display, and
>to view the entire length of the string I am forced to pan my view left and
>right. Is there a special way I can format this string so that it fits
>nicely on the screen? Keep in mind that one important factor is that
>whitespace is very sensitive, and I do not want line breaks in my script
>file to become part of the string itself. I like how C++ handles strings,
>like this:
>
>char const* mystring =
"This is a very long string that "
"spans multiple lines and does "
"not include line breaks or tabs "
"from the source file between "
"the strings partitions."
>
>
>What do you guys prefer? Thanks for reading.
>
"This is a very long string that "
"spans multiple lines and does "
"not include line breaks or tabs "
"from the source file between "
"the strings partitions.")
Jean-Paul
Comment