[fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

J. Gareth Moreton gareth at moreton-family.com
Sat Jul 6 04:53:45 CEST 2019


If someone has reported it, then it's not impossible.  Granted, a 
reproducible case helps here, along with any configuration settings.

Gareth aka. Kit

On 06/07/2019 03:46, Ben Grasset wrote:
> On Fri, Jul 5, 2019 at 10:37 PM Ryan Joseph <genericptr at gmail.com 
> <mailto:genericptr at gmail.com>> wrote:
>
>     String constant too long while ansistrings are disabled
>
>     Regards,
>             Ryan Joseph
>
>
> Getting that with "var SomeString: AnsiString = " should be (and is) 
> impossible at all times.
>
> Getting that with "var SomeString: String = "  only *maybe* should be 
> (but is regardless) impossible at all times.
>
> Getting that with "const SomeString = " when in {$H-} is expected at 
> all times.
>
> Getting that with "const SomeString = " when in {$H+} should be (and 
> is) impossible at all times.
>
> Typed constants / variables and untyped constants are *not* the same 
> thing.
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190706/3ff41b4d/attachment.html>


More information about the fpc-devel mailing list