mathes
asked on
Handling large strings in the editor of the IDE.
Hi experts,
is it possible to split very long lines of code within the editor of my IDE ?
To write down a string like
s := 'This is a sample string which should be examined by the experts in order to demonstrate which result I want if I split a string.';
does not improve the readability of of sources.
But when I split this string into 2 lines, Delphi complains about an unterminated string which can't be compiled.
In Visual Basic you can solve this by adding an underscore at the end of a line:
s := 'This is a sample string which should be examined by_ the experts in order to demonstrate which_
result I want if I split a string.';
Is there an equivalent in Delphi for doing this?
With kind regards
Mathes
is it possible to split very long lines of code within the editor of my IDE ?
To write down a string like
s := 'This is a sample string which should be examined by the experts in order to demonstrate which result I want if I split a string.';
does not improve the readability of of sources.
But when I split this string into 2 lines, Delphi complains about an unterminated string which can't be compiled.
In Visual Basic you can solve this by adding an underscore at the end of a line:
s := 'This is a sample string which should be examined by_ the experts in order to demonstrate which_
result I want if I split a string.';
Is there an equivalent in Delphi for doing this?
With kind regards
Mathes
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you, this is exactly what I was looking for.
With kind regards
Mathes
With kind regards
Mathes
meikl