Code: Select all
Macro V
+ #CRLF$ +
EndMacro
text$ = "Hello!" V "My name is Thomas," V "and this is a test!"
MessageRequester("TEST", text$)
Code: Select all
Macro V
+ #CRLF$ +
EndMacro
text$ = "Hello!" V "My name is Thomas," V "and this is a test!"
MessageRequester("TEST", text$)
Code: Select all
debug "Fr34k is
_ absolutely the best"
;
debug "After Fred, " + _ ; truth to be told
"of course..." ; yes, I know it's difficult
Code: Select all
LStringVar=%"This is a long 'string' that
can contain quotes, '"',
spaces, line feeds And
Chr(34) Until these two
special characters are found
at the End.%"
Code: Select all
LStringVar=%"
The string starts here.%"
To add to this purely academic discussion ..Mistrel wrote:Like I said, it looks pretty but there would need to be a solution without indentations like that.
I thought about thisBut that would leave a carriage return at the top. And I agree that there would be no way to identify formatting from a space or a tab.Code: Select all
LStringVar=%" The string starts here.%"
Code: Select all
Please.s = "Continue this _
on the next line." ; Renders "Continue this on the next line"
; versus
Please.s = "Continue this _
on the next line." ; Renders "Continue this on the next line"
; and
Please.s = "Continue this_
on the next line." ; Renders "Continue thison the next line"
Code: Select all
LStringVar="This is a long 'string' that _
can contain quotes, '""', _
spaces, line feeds And "_
+Chr(34)+" Until the doublequote _
at the End."
Code: Select all
LStringVar="This is a long 'string' that can contain quotes, '"', spaces, line feeds And "+Chr(34)+" Until the doublequote at the End."
Code: Select all
"" = Null string
"""" = A single doublequote
"""""" = Two doublequotes
Code: Select all
SstringVar = "This is the first ""short"" string."
LstringVar1 = "This is the first string, just _
long."
LstringVar2 = "This is a long string with an _
""_"" in it."
LstringVar3 = "This is a long string with an ""__
"" in it,
_and a carriage return."
LstringVar4 = "This is long string #" + str_num _
+ " with a
_carriage return and an ""_"" in _
it for the
_variable str_num."
avg_length = (82 / (78 + 4)) * total_string_lengths _
/ (str_num + 5 - (2 + 3))
Code: Select all
SstringVar = "This is the first "short" string."
LstringVar1 = "This is the first string, just long."
LstringVar2 = "This is a long string with an "_" in it."
LstringVar3 = "This is a long string with an "_" in it,
and a carriage return."
LstringVar4 = "This is long string #"+str_num+" with a
carriage return and an "_" in it for the
variable str_num."
avg_length = (82 / (78 + 4)) * total_string_lengths / (str_num + 5 - (2 + 3))
Code: Select all
St.s = "Does anyone else here like escape character?\n"
St + "\qNo!\q\n"
St + "Well alright then."