P
p brian
Dear all,
Weirdly enough i do not think I have come across this before. Perhaps I do
not use enough comments....
mystring = "hello " + someVariable + \
"multiple lines 4 clarity" + \
someothervariable
print mystring
The above works , but if I add comments
mystring = "hello " + someVariable + \ #comment
"multiple lines 4 clarity" + \ #comment
someothervariable #comment
it stops working because instead of escaping a newline I am now just
escaping a space or tab.
Is there some clever thing i have missed?
Thanks for any advice
paul
Weirdly enough i do not think I have come across this before. Perhaps I do
not use enough comments....
mystring = "hello " + someVariable + \
"multiple lines 4 clarity" + \
someothervariable
print mystring
The above works , but if I add comments
mystring = "hello " + someVariable + \ #comment
"multiple lines 4 clarity" + \ #comment
someothervariable #comment
it stops working because instead of escaping a newline I am now just
escaping a space or tab.
Is there some clever thing i have missed?
Thanks for any advice
paul