<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 28 February 2016 at 09:48, Marcos Douglas <span dir="ltr"><<a href="mailto:md@delfire.net" target="_blank">md@delfire.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Sat, Feb 27, 2016 at 3:06 PM, Sven Barth <<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>> wrote:<br>
> Mostly don't like, but also it introduces a ambiguity in the language<br>
> especially since you could use your proposed variant in a single line as<br>
> well.<br>
> I'd more prefer the $IncludeString directive for which there's still a patch<br>
> waiting in Mantis. With this the contents would be in separate file, thus<br>
> not only not cluttering the Pascal source, but also allowing the use of an<br>
> editor with syntax highlighting as in your example with the SQL.<br>
<br>
</span>OK, $IncludeString directive sounds good. Thanks.<br>
<div class=""><div class="h5"><br>
Marcos Douglas<br>
_______________________________________________<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" rel="noreferrer" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</div></div></blockquote></div><br><br clear="all"></div><div class="gmail_extra">The problem with $IncludeString is that it entails another level of indirection when you want to understand the source, which in this case happens to be text. After all the SQL used in a program happens to be part of the source code which is meant to be read by humans, even if it is not Pascal source. I don't know how difficult adjusting the compiler/syntax to handle this case is, or how well it fits with Pascal, but inline text if very useful and it is supported by a lot of languages, ie HEREDOC etc.<br><br></div><div class="gmail_extra">-- <br><div class="gmail_signature">Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com" target="_blank">http://devblog.brahmancreations.com</a></div>
</div></div>