Alex Rivera | Logout

How to assign a multiline string value without quoting each line?

Asked 2009-12-09T08:56:52.593
12

Is there a way to assign a multiline string value in Delphi without having to quote each line?

Edit (the specific problem): I have some SQL queries which I want to test outside Delphi. When copying the queries it is a bit of overhead to add and replace quotes every time.

Edit
Report

1 Answer

3

You could consider putting your SQL in TQuery components on Forms or Data Modules.

This solves the copy/paste problem, but it introduces others (such as the diffs between two versions of a query being worse).

answered 2009-12-09T15:24:55.757

Your Answer