On 4/24/2026 11:47 AM, Martin Frb via fpc-devel wrote:
Does that affect the type definition? Or access in the source?

Access in the source (local).

- If in "unitFoo" a string is declared while ZEROBASEDSTRINGS is on,
- and it is accessed in untiBar, where this is OFF

Will that string in unitBar be accessed zero or one based?

one based.

https://docwiki.embarcadero.com/RADStudio/Florence/en/Zero-based_strings_(Delphi)

Ondrej

_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to