On 7/3/19 12:53 PM, Ben Grasset wrote:
On Wed, Jul 3, 2019 at 10:22 AM Marcus Sackrow <al...@web.de> wrote:

    I use an operator overload(not for constants but inside the code)
    because I'm used to our script engine have the '/' as operator for
    strings as line break.

That's certainly a neat use of operator overloading! However, I think that it is still rather less clean/readable than what would be possible with "true" unbroken multiline strings.


FWIW: it uses the '/' in the traditional *nix form of indicating a line continues on the next line...

[edit before shipping]

oh! oops! nope... that's the '\' character which i would prefer to see but i do like his operator overload and may swipe it for use with the '\' character some time... it appears to fit perfectly for this task ;)


https://www.google.com/search?q=linux+line+continuation+character


--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list unless*
       *a signed and pre-paid contract is in effect with us.*
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to